org.gcube.contentmanagement.baselayer.exceptions
Class BaseLayerException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.gcube.contentmanagement.baselayer.exceptions.BaseLayerException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
TemporaryUnavailableException, ValueNotValidException

public class BaseLayerException
extends java.lang.Exception

Base class of all exceptions that occur in base layer. Should be caught by layers on top of base layer.

See Also:
Serialized Form

Constructor Summary
BaseLayerException(java.lang.String message)
          Constructor for a new exception
BaseLayerException(java.lang.String message, java.lang.Throwable cause)
          Constructor for a new exception
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BaseLayerException

public BaseLayerException(java.lang.String message,
                          java.lang.Throwable cause)
Constructor for a new exception

Parameters:
message - the message explaining the exception
cause - if caused by some other throwable

BaseLayerException

public BaseLayerException(java.lang.String message)
Constructor for a new exception

Parameters:
message - the message explaining the exception