Class CoreRuntimeException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.codingchili.core.context.CoreRuntimeException
All Implemented Interfaces:
CoreExceptionFormat, Serializable
Direct Known Subclasses:
AuthorizationRequiredException, CommandAlreadyExistsException, ConfigurationParseException, FileReadException, FileWriteException, HandlerMissingException, InvalidConfigurationPath, NoFileStoreRegisteredException, NoSuchFileException, NoSuchResourceException, QueryFormatException, RequestValidationException, SecurityMissingDependencyException, SerializerPayloadException, TimerSourceException

public class CoreRuntimeException extends RuntimeException implements CoreExceptionFormat
Runtime exception.
See Also:
Serialized Form
  • Constructor Details

    • CoreRuntimeException

      public CoreRuntimeException(String description)
      Parameters:
      description - of the generated error and the cause.
    • CoreRuntimeException

      public CoreRuntimeException(String description, Throwable cause)
      creates a runtime exception with a stacktrace.
      Parameters:
      description - why we are throwing an exception
      cause - the original exception.
    • CoreRuntimeException

      public CoreRuntimeException(Throwable cause)
      Parameters:
      cause - the original exception.
    • CoreRuntimeException

      public CoreRuntimeException(String error, ResponseStatus status)
      Parameters:
      error - description of the error and the cause.
      status - the error level.
  • Method Details