Class KnownException

  • All Implemented Interfaces:
    java.io.Serializable

    public class KnownException
    extends java.lang.RuntimeException
    Know exception for some problems.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      KnownException​(java.lang.String errorCode, java.lang.Object... params)  
      KnownException​(java.lang.Throwable ex, java.lang.String errorCode, java.lang.Object... params)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getLocalizedMessage()  
      java.lang.Object[] getParams()  
      • Methods inherited from class java.lang.Throwable

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

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • KnownException

        public KnownException​(java.lang.String errorCode,
                              java.lang.Object... params)
      • KnownException

        public KnownException​(java.lang.Throwable ex,
                              java.lang.String errorCode,
                              java.lang.Object... params)
    • Method Detail

      • getParams

        public java.lang.Object[] getParams()
      • getLocalizedMessage

        public java.lang.String getLocalizedMessage()
        Overrides:
        getLocalizedMessage in class java.lang.Throwable