Package org.apache.cxf.aegis
Class DatabindingException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.cxf.aegis.DatabindingException
-
- All Implemented Interfaces:
Serializable
public class DatabindingException extends RuntimeException
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description 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.DatabindingException(Message message)DatabindingException(Message message, Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetActualMessage()StringgetMessage()Return the detail message, including the message from thenested exceptionif there is one.voidprepend(String m)voidprintStackTrace(PrintStream s)Prints this throwable and its backtrace to the specified print stream.voidprintStackTrace(PrintWriter w)Prints this throwable and its backtrace to the specified print writer.voidsetMessage(String s)-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString
-
-
-
-
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)
-
-
Method Detail
-
getMessage
public String getMessage()
Return the detail message, including the message from thenested exceptionif there is one.- Overrides:
getMessagein classThrowable- 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:
printStackTracein classThrowable- Parameters:
s-PrintStreamto use for output
-
printStackTrace
public void printStackTrace(PrintWriter w)
Prints this throwable and its backtrace to the specified print writer.- Overrides:
printStackTracein classThrowable- Parameters:
w-PrintWriterto use for output
-
prepend
public final void prepend(String m)
-
setMessage
public void setMessage(String s)
-
-