org.codehaus.aspectwerkz.exception
Class DefinitionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.codehaus.aspectwerkz.exception.DefinitionException
All Implemented Interfaces:
Serializable

public class DefinitionException
extends RuntimeException

Thrown when error in definition.

Author:
Jonas BonŽr , Vincent Massol
See Also:
Serialized Form

Constructor Summary
DefinitionException(String message)
          Sets the message for the exception.
DefinitionException(String message, Throwable throwable)
          Sets the message for the exception and the original exception being wrapped.
 
Method Summary
 void printStackTrace()
          Print the full stack trace, including the original exception.
 void printStackTrace(PrintStream ps)
          Print the full stack trace, including the original exception.
 void printStackTrace(PrintWriter pw)
          Print the full stack trace, including the original exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefinitionException

public DefinitionException(String message)
Sets the message for the exception.

Parameters:
message - the message

DefinitionException

public DefinitionException(String message,
                           Throwable throwable)
Sets the message for the exception and the original exception being wrapped.

Parameters:
message - the detail of the error message
throwable - the original exception
Method Detail

printStackTrace

public void printStackTrace()
Print the full stack trace, including the original exception.

Overrides:
printStackTrace in class Throwable

printStackTrace

public void printStackTrace(PrintStream ps)
Print the full stack trace, including the original exception.

Overrides:
printStackTrace in class Throwable
Parameters:
ps - the byte stream in which to print the stack trace

printStackTrace

public void printStackTrace(PrintWriter pw)
Print the full stack trace, including the original exception.

Overrides:
printStackTrace in class Throwable
Parameters:
pw - the character stream in which to print the stack trace


Copyright © 2002-2005 Jonas Bonér, Alexandre Vasseur. All Rights Reserved.