Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ConverterRuntimeException (0.22 sec)

  1. src/main/java/org/codelibs/core/exception/ConverterRuntimeException.java

    import static org.codelibs.core.collection.ArrayUtil.asArray;
    
    import org.codelibs.core.beans.Converter;
    
    /**
     * {@link Converter}でエラーが起きた場合にスローされる例外です。
     *
     * @author higa
     */
    public class ConverterRuntimeException extends ClRuntimeException {
    
        private static final long serialVersionUID = 1L;
    
        private final String propertyName;
    
        private final Object value;
    
        /**
         * インスタンスを構築します。
         *
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/exception/ConverterRuntimeExceptionTest.java

    /**
     * @author higa
     */
    public class ConverterRuntimeExceptionTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void test() throws Exception {
            final ConverterRuntimeException e = new ConverterRuntimeException("hoge", "xxx", new RuntimeException("cause"));
            System.out.println(e.getMessage());
            assertThat(e.getPropertyName(), is("hoge"));
            assertThat(e.getValue(), is((Object) "xxx"));
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/beans/util/CopyOptionsTest.java

    import java.sql.Timestamp;
    import java.util.Date;
    
    import org.codelibs.core.beans.converter.DateConverter;
    import org.codelibs.core.beans.converter.NumberConverter;
    import org.codelibs.core.exception.ConverterRuntimeException;
    import org.junit.Test;
    
    /**
     * @author higa
     */
    public class CopyOptionsTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testIncludes() throws Exception {
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 12K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/beans/util/CopyOptions.java

    import org.codelibs.core.convert.DateConversionUtil;
    import org.codelibs.core.convert.TimeConversionUtil;
    import org.codelibs.core.convert.TimestampConversionUtil;
    import org.codelibs.core.exception.ConverterRuntimeException;
    
    /**
     * {@link BeanUtil}でJavaBeansや{@link Map}をコピーする際に指定するオプションです。
     *
     * @author higa
     */
    public class CopyOptions {
    
        /**
         * 日付用のデフォルトコンバータです。
         */
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 18.6K bytes
    - Viewed (0)
Back to top