Class InstantiationRuntimeException

  • All Implemented Interfaces:
    Serializable, org.refcodes.exception.ErrorCodeAccessor, org.refcodes.exception.Trap

    public class InstantiationRuntimeException
    extends FactoryRuntimeException
    Thrown in case of a caught runtime exception of an underlying framework which only shows up at runtime (probably not documented in any API).
    See Also:
    Serialized Form
    • Constructor Detail

      • InstantiationRuntimeException

        public InstantiationRuntimeException​(String aMessage,
                                             String aErrorCode)
        Instantiates a new unexpected factory runtime exception.
        Parameters:
        aMessage - the message
        aErrorCode - the error code
      • InstantiationRuntimeException

        public InstantiationRuntimeException​(String aMessage,
                                             Throwable aCause,
                                             String aErrorCode)
        Instantiates a new unexpected factory runtime exception.
        Parameters:
        aMessage - the message
        aCause - the cause
        aErrorCode - the error code
      • InstantiationRuntimeException

        public InstantiationRuntimeException​(String message,
                                             Throwable cause)
        Instantiates a new unexpected factory runtime exception.
        Parameters:
        message - the message
        cause - the cause
      • InstantiationRuntimeException

        public InstantiationRuntimeException​(String message)
        Instantiates a new unexpected factory runtime exception.
        Parameters:
        message - the message
      • InstantiationRuntimeException

        public InstantiationRuntimeException​(Throwable aCause,
                                             String aErrorCode)
        Instantiates a new unexpected factory runtime exception.
        Parameters:
        aCause - the cause
        aErrorCode - the error code
      • InstantiationRuntimeException

        public InstantiationRuntimeException​(Throwable cause)
        Instantiates a new unexpected factory runtime exception.
        Parameters:
        cause - the cause