Class CoreException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.codingchili.core.context.CoreException
All Implemented Interfaces:
CoreExceptionFormat, Serializable
Direct Known Subclasses:
BlockNotConfiguredException, ConfigurationMismatchException, FileMissingException, HashMismatchException, NodeFailedToAcknowledge, NodeNotReachableException, NoServicesConfiguredForBlock, NoSuchCommandException, NothingToRemoveException, NothingToUpdateException, RemoteBlockNotConfiguredException, RequestPayloadSizeException, RequestTimedOutException, StorageFailureException, UnmappedException, ValueAlreadyPresentException, ValueMissingException

public class CoreException extends Exception implements CoreExceptionFormat
Exceptions should extend this class to allow for catching all core-type exceptions. Additionally, all classes extending CoreException must be safe to be forwarded to clients.
See Also:
Serialized Form
  • Constructor Details

    • CoreException

      protected CoreException(String error)
      Parameters:
      error - an error message.
    • CoreException

      protected CoreException(String error, ResponseStatus status)
      Parameters:
      error - an error message.
      status - a status code.
  • Method Details