org.defne.utility.exception
Class DefneException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.defne.utility.exception.DefneException
All Implemented Interfaces:
Serializable

public class DefneException
extends RuntimeException

Main root exception for all general types of exceptions. Specific runtime exceptions could extend DefneException for more specific exceptions.

See Also:
Serialized Form

Constructor Summary
DefneException()
          Instantiates a new green exception.
DefneException(String message)
          Instantiates a new green exception.
DefneException(String message, Throwable cause)
          Instantiates a new green exception.
DefneException(Throwable cause)
          Instantiates a new green 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefneException

public DefneException()
Instantiates a new green exception.


DefneException

public DefneException(String message)
Instantiates a new green exception.

Parameters:
message - the message

DefneException

public DefneException(Throwable cause)
Instantiates a new green exception.

Parameters:
cause - the cause

DefneException

public DefneException(String message,
                      Throwable cause)
Instantiates a new green exception.

Parameters:
message - the message
cause - the cause


Copyright © 2010 MechSoft Mechanical and Software Solutions. All Rights Reserved.