A MarshalException
can contain a cause: another
throwable that caused this MarshalException
to get thrown.
XMLSignature#sign(XMLSignContext)
, XMLSignatureFactory#unmarshalXMLSignature(XMLValidateContext)
Modifier and Type | Field and Description |
---|---|
private Throwable | cause
Hides java. |
private static final long |
Access | Constructor and Description |
---|---|
public | |
public | MarshalException(String
the detail message message)Constructs a new |
public | MarshalException(String
the detail message message, Throwable the cause (A cause)null value is permitted, and
indicates that the cause is nonexistent or unknown.)Constructs a new |
public | MarshalException(Throwable
the cause (A cause)null value is permitted, and
indicates that the cause is nonexistent or unknown.)Constructs a new |
Modifier and Type | Method and Description |
---|---|
public Throwable | Returns: the cause of thisMarshalException or
null if the cause is nonexistent or unknown.Overrides java. Returns the cause of this |
public void | printStackTrace()
Overrides java. Prints this |
public void | printStackTrace(PrintStream
PrintStream to use for outputOverrides java. Prints this |
public void | printStackTrace(PrintWriter
PrintWriter to use for outputOverrides java. Prints this |
cause | back to summary |
---|---|
private Throwable cause Hides java. The throwable that caused this exception to get thrown, or null if this exception was not caused by another throwable or if the causative throwable is unknown. |
serialVersionUID | back to summary |
---|---|
private static final long serialVersionUID |
MarshalException | back to summary |
---|---|
public MarshalException() Constructs a new |
MarshalException | back to summary |
---|---|
public MarshalException(String message) Constructs a new
|
MarshalException | back to summary |
---|---|
public MarshalException(String message, Throwable cause) Constructs a new Note that the detail message associated with
|
MarshalException | back to summary |
---|---|
public MarshalException(Throwable cause) Constructs a new
|
getCause | back to summary |
---|---|
public Throwable getCause() Overrides java. Returns the cause of this
|
printStackTrace | back to summary |
---|---|
public void printStackTrace() Overrides java. Prints this |
printStackTrace | back to summary |
---|---|
public void printStackTrace(PrintStream s) Overrides java. Prints this
|
printStackTrace | back to summary |
---|---|
public void printStackTrace(PrintWriter s) Overrides java. Prints this
|