org.codehaus.aspectwerkz.exception
Class DefinitionException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.codehaus.aspectwerkz.exception.DefinitionException
All Implemented Interfaces:
java.io.Serializable

public class DefinitionException
extends java.lang.RuntimeException

Thrown when error in definition.

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

Constructor Summary
DefinitionException(java.lang.String message)
          Sets the message for the exception.
DefinitionException(java.lang.String message, java.lang.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(java.io.PrintStream ps)
          Print the full stack trace, including the original exception.
 void printStackTrace(java.io.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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefinitionException

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

Parameters:
message - the message

DefinitionException

public DefinitionException(java.lang.String message,
                           java.lang.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.


printStackTrace

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

Parameters:
ps - the byte stream in which to print the stack trace

printStackTrace

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

Parameters:
pw - the character stream in which to print the stack trace


Copyright (c) 2002-2004 The AspectWerkz Team. All Rights Reserved.