net.sf.sasl.common.exception
Class ReflectionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by net.sf.sasl.common.exception.ReflectionException
All Implemented Interfaces:
Serializable

public class ReflectionException
extends Exception

The exception could be used for all sorts of "errors" that occur in combination with reflection operations.

Since:
0.0.2 (sasl-common-library)
Author:
Philipp Förmer
See Also:
Serialized Form

Constructor Summary
ReflectionException()
          Initializes the exception with no reason and cause.
ReflectionException(String reason)
          Initializes the exception with the given reason.
ReflectionException(String reason, Throwable cause)
          Initializes the exception with the given reason and cause.
ReflectionException(Throwable cause)
          Initializes the exception with the given 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

ReflectionException

public ReflectionException()
Initializes the exception with no reason and cause.

Since:
0.0.2 (sasl-common-library)

ReflectionException

public ReflectionException(String reason)
Initializes the exception with the given reason.

Parameters:
reason - null or non null.
Since:
0.0.2 (sasl-common-library)

ReflectionException

public ReflectionException(Throwable cause)
Initializes the exception with the given cause.

Parameters:
cause - null or non null.
Since:
0.0.2 (sasl-common-library)

ReflectionException

public ReflectionException(String reason,
                           Throwable cause)
Initializes the exception with the given reason and cause.

Parameters:
reason - null or non null.
cause - null or non null.
Since:
0.0.2 (sasl-common-library)


Copyright © 2010. All Rights Reserved.