Class Exceptions4


  • public class Exceptions4
    extends java.lang.Object
    • Constructor Detail

      • Exceptions4

        public Exceptions4()
    • Method Detail

      • throwRuntimeException

        public static final void throwRuntimeException​(int code)
      • throwRuntimeException

        public static final void throwRuntimeException​(int code,
                                                       java.lang.Throwable cause)
      • throwRuntimeException

        public static final void throwRuntimeException​(int code,
                                                       java.lang.String msg)
      • throwRuntimeException

        public static final void throwRuntimeException​(int code,
                                                       java.lang.String msg,
                                                       java.lang.Throwable cause)
      • throwRuntimeException

        public static final void throwRuntimeException​(int code,
                                                       java.lang.String msg,
                                                       java.lang.Throwable cause,
                                                       boolean doLog)
        Deprecated.
      • catchAllExceptDb4oException

        public static final void catchAllExceptDb4oException​(java.lang.Throwable exc)
                                                      throws Db4oException
        Throws:
        Db4oException
      • shouldNeverBeCalled

        public static java.lang.RuntimeException shouldNeverBeCalled()
      • shouldNeverHappen

        public static void shouldNeverHappen()
      • virtualException

        public static java.lang.RuntimeException virtualException()