org.javasimon
Class SimonException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.javasimon.SimonException
All Implemented Interfaces:
Serializable

public final class SimonException
extends RuntimeException

SimonException is runtime exception thrown in case something goes seriously wrong (class cast or similar).

Author:
Richard "Virgo" Richter
See Also:
Serialized Form

Constructor Summary
SimonException(String message)
          Creates SimonException with the message.
SimonException(String message, Throwable cause)
          Creates SimonException with the message and the chained exception causing this excaption.
SimonException(Throwable cause)
          Creates SimonException with the chained exception causing this excaption.
 
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

SimonException

public SimonException(String message)
Creates SimonException with the message.

Parameters:
message - exception message

SimonException

public SimonException(String message,
                      Throwable cause)
Creates SimonException with the message and the chained exception causing this excaption.

Parameters:
message - exception message
cause - chained exception

SimonException

public SimonException(Throwable cause)
Creates SimonException with the chained exception causing this excaption.

Parameters:
cause - chained exception


Copyright © 2013. All Rights Reserved.