Class Encap.EncapException

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    Encap

    public static class Encap.EncapException
    extends java.lang.RuntimeException
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected int statusCode  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected static java.lang.String codeMessage​(java.lang.String msg, int code)  
      int getStatusCode()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • statusCode

        protected final int statusCode
    • Constructor Detail

      • EncapException

        public EncapException​(int code)
      • EncapException

        public EncapException​(int code,
                              java.lang.Throwable e)
      • EncapException

        public EncapException​(int code,
                              java.lang.String msg)
      • EncapException

        public EncapException​(int code,
                              java.lang.String msg,
                              java.lang.Throwable e)
    • Method Detail

      • codeMessage

        protected static java.lang.String codeMessage​(java.lang.String msg,
                                                      int code)
      • getStatusCode

        public int getStatusCode()