Class SingletonException

  • All Implemented Interfaces:
    java.io.Serializable

    class SingletonException
    extends java.lang.Exception
    Package private singleton exception class.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static long serialVersionUID  
    • Constructor Summary

      Constructors 
      Constructor Description
      SingletonException​(java.lang.String message)
      Create a singleton exception with the specified message and no cause.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Throwable fillInStackTrace()
      The stack trace cannot be filled in.
      void setStackTrace​(java.lang.StackTraceElement[] stackTrace)
      The stack trace cannot be set.
      • Methods inherited from class java.lang.Throwable

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

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

      • SingletonException

        public SingletonException​(java.lang.String message)
        Create a singleton exception with the specified message and no cause.
        Parameters:
        message - The message for the singleton exception.
    • Method Detail

      • fillInStackTrace

        public java.lang.Throwable fillInStackTrace()
        The stack trace cannot be filled in.
        Overrides:
        fillInStackTrace in class java.lang.Throwable
        Returns:
        this
      • setStackTrace

        public void setStackTrace​(java.lang.StackTraceElement[] stackTrace)
        The stack trace cannot be set.
        Overrides:
        setStackTrace in class java.lang.Throwable
        Parameters:
        stackTrace - Must not be null or contain any null elements; otherwise ignored.