Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 147 for throw (0.2 sec)

  1. src/main/java/org/codelibs/core/xml/DocumentBuilderUtil.java

            assertArgumentNotNull("is", is);
    
            try {
                return builder.parse(is);
            } catch (final SAXException e) {
                throw new SAXRuntimeException(e);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/collection/SingleValueIterator.java

            return hasNext;
        }
    
        @Override
        public E next() {
            if (!hasNext) {
                throw new NoSuchElementException();
            }
            hasNext = false;
            return value;
        }
    
        @Override
        public void remove() {
            throw new ClUnsupportedOperationException("remove");
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/xml/SchemaUtil.java

            assertArgumentNotNull("factory", factory);
            assertArgumentNotNull("schema", schema);
    
            try {
                return factory.newSchema(schema);
            } catch (final SAXException e) {
                throw new SAXRuntimeException(e);
            }
        }
    
        /**
         * 指定の{@link SchemaFactory}を使用して{@link Schema}を作成します。
         *
         * @param factory
         *            {@link SchemaFactory}。{@literal null}であってはいけません
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/io/LineIterator.java

        }
    
        @Override
        public String next() {
            if (!hasNext()) {
                throw new NoSuchElementException();
            }
            final String result = line;
            line = EMPTY;
            return result;
        }
    
        @Override
        public void remove() {
            throw new ClUnsupportedOperationException("remove");
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/beans/impl/BeanDescImplTest.java

        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testNewInstance() throws Exception {
            final BeanDesc beanDesc = new BeanDescImpl(Integer.class);
            assertThat((Integer) beanDesc.newInstance(10), is(10));
            assertThat((Integer) beanDesc.newInstance("10"), is(10));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 13.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/collection/IndexedIterator.java

        }
    
        @Override
        public Indexed<T> next() {
            return new Indexed<>(iterator.next(), index++);
        }
    
        @Override
        public void remove() {
            throw new ClUnsupportedOperationException("remove");
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/naming/InitialContextUtil.java

                throw new NamingRuntimeException(ex);
            }
        }
    
        /**
         * 指定した初期コンテキストから指定されたオブジェクトを取得して返します。
         *
         * @param ctx
         *            初期コンテキスト。{@literal null}であってはいけません
         * @param jndiName
         *            検索するオブジェクトの名前。{@literal null}や空文字列であってはいけません
         * @return <code>jndiName</code>にバインドされているオブジェクト
         * @throws NamingRuntimeException
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/misc/AssertionUtil.java

         *            {@code null} であってはならない引数の名前
         * @param argValue
         *            引数の値
         * @throws NullArgumentException
         *             引数が<code>null</code>の場合。
         */
        public static void assertArgumentNotNull(final String argName, final Object argValue) {
            if (argValue == null) {
                throw new NullArgumentException(argName);
            }
        }
    
        /**
         * 引数が<code>null</code>でも空文字列でもないことを表明します。
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/xml/SAXParserFactoryUtil.java

            } catch (SAXNotRecognizedException | SAXNotSupportedException e) {
                throw new SAXRuntimeException(e);
            } catch (final ParserConfigurationException e) {
                throw new ParserConfigurationRuntimeException(e);
            }
            return factory;
        }
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/io/ReaderUtil.java

            assertArgumentNotNull("is", is);
            assertArgumentNotEmpty("encoding", encoding);
    
            try {
                return new InputStreamReader(is, encoding);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * プラットフォームデフォルトエンコーディングでファイルから入力する{@link Reader}を作成します。
         *
         * @param file
         *            ファイル。{@literal null}であってはいけません
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 4.5K bytes
    - Viewed (0)
Back to top