com.scooterframework.common.exception
Class GenericException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.scooterframework.common.exception.GenericException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
BaseSQLException, CompileException, ExecutionException, FileUploadException, InvalidOperationException, MethodCreationException, NoTemplateHandlerException, NoViewFileException, ObjectCreationException, PropertyFileLoadingException, RequiredDataMissingException, UnsupportFeatureException

public class GenericException
extends java.lang.RuntimeException

class GenericException

See Also:
Serialized Form

Constructor Summary
GenericException()
          Constructs a new GenericException exception with null as its detail message.
GenericException(java.lang.String message)
          Constructs a new GenericException exception with the specified detail message.
GenericException(java.lang.String message, java.lang.Throwable cause)
          Constructs a new GenericException exception with the specified detail message and cause.
GenericException(java.lang.Throwable cause)
          Constructs a new GenericException exception with the specified cause.
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GenericException

public GenericException()
Constructs a new GenericException exception with null as its detail message. The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(java.lang.Throwable).


GenericException

public GenericException(java.lang.String message,
                        java.lang.Throwable cause)
Constructs a new GenericException exception with the specified detail message and cause.

Parameters:
message - the detail message.
cause - the cause. (A null value is permitted, and indicates that the cause is nonexistent or unknown.)

GenericException

public GenericException(java.lang.String message)
Constructs a new GenericException exception with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(java.lang.Throwable).

Parameters:
message - the detail message.

GenericException

public GenericException(java.lang.Throwable cause)
Constructs a new GenericException exception with the specified cause. This constructor is useful for runtime exceptions that are little more than wrappers for other throwables.

Parameters:
cause - the wrapped exception.