Apache CXF API

org.apache.cxf.aegis
Class DatabindingException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.cxf.aegis.DatabindingException
All Implemented Interfaces:
Serializable

public class DatabindingException
extends RuntimeException

Since:
Feb 14, 2004
Author:
Dan Diephouse
See Also:
Serialized Form

Constructor Summary
DatabindingException(Message message)
           
DatabindingException(Message message, Throwable cause)
           
DatabindingException(String message)
          Constructs a new exception with the specified detail message.
DatabindingException(String message, Throwable cause)
          Constructs a new exception with the specified detail message and cause.
 
Method Summary
 String getActualMessage()
           
 String getMessage()
          Return the detail message, including the message from the nested exception if there is one.
 void prepend(String m)
           
 void printStackTrace(PrintStream s)
          Prints this throwable and its backtrace to the specified print stream.
 void printStackTrace(PrintWriter w)
          Prints this throwable and its backtrace to the specified print writer.
 void setMessage(String s)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DatabindingException

public DatabindingException(String message)
Constructs a new exception with the specified detail message.

Parameters:
message - the detail message.

DatabindingException

public DatabindingException(String message,
                            Throwable cause)
Constructs a new exception with the specified detail message and cause.

Parameters:
message - the detail message.
cause - the cause.

DatabindingException

public DatabindingException(Message message)

DatabindingException

public DatabindingException(Message message,
                            Throwable cause)
Method Detail

getMessage

public String getMessage()
Return the detail message, including the message from the nested exception if there is one.

Overrides:
getMessage in class Throwable
Returns:
the detail message.

getActualMessage

public String getActualMessage()

printStackTrace

public void printStackTrace(PrintStream s)
Prints this throwable and its backtrace to the specified print stream.

Overrides:
printStackTrace in class Throwable
Parameters:
s - PrintStream to use for output

printStackTrace

public void printStackTrace(PrintWriter w)
Prints this throwable and its backtrace to the specified print writer.

Overrides:
printStackTrace in class Throwable
Parameters:
w - PrintWriter to use for output

prepend

public final void prepend(String m)

setMessage

public void setMessage(String s)

Apache CXF API

Apache CXF