Class ConstantNotFoundException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ConstantNotFoundException
    extends ASGRuntimeException
    Exception thrown by getConstantByXXX methods of generated Enum types if no enum's constant with such property found.
    Version:
    $Id: $Id
    Author:
    another
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ConstantNotFoundException​(java.lang.String message)
      Creates a new exception with a message.
      ConstantNotFoundException​(java.lang.String message, java.lang.Throwable cause)
      Creates a new exception with a message and a cause.
      ConstantNotFoundException​(java.lang.Throwable cause)
      Creates a new exception with a cause.
    • Method Summary

      • 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
    • Constructor Detail

      • ConstantNotFoundException

        public ConstantNotFoundException​(java.lang.String message)
        Creates a new exception with a message.
        Parameters:
        message - a String object.
      • ConstantNotFoundException

        public ConstantNotFoundException​(java.lang.Throwable cause)
        Creates a new exception with a cause.
        Parameters:
        cause - a Throwable object.
      • ConstantNotFoundException

        public ConstantNotFoundException​(java.lang.String message,
                                         java.lang.Throwable cause)
        Creates a new exception with a message and a cause.
        Parameters:
        cause - a Throwable object.
        message - a String object.