public class InvalidContentException
extends java.io.IOException
| Constructor and Description |
|---|
InvalidContentException(java.lang.String message,
java.lang.Throwable cause)
Constructs an
InvalidContentException with the specified detail
message and cause. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Throwable |
getCause()
Returns the cause of this exception or
null if no cause
was specified when this exception was created. |
java.lang.Throwable |
initCause(java.lang.Throwable t)
The cause of this exception can only be set when constructed.
|
public InvalidContentException(java.lang.String message,
java.lang.Throwable cause)
InvalidContentException with the specified detail
message and cause.message - the exception messagecause - the cause, may be nullpublic java.lang.Throwable getCause()
null if no cause
was specified when this exception was created.getCause in class java.lang.Throwablenull if no cause was created.public java.lang.Throwable initCause(java.lang.Throwable t)
initCause in class java.lang.Throwablet - Cause of the exception.java.lang.IllegalStateException - This method will always throw an
IllegalStateException since the cause of this
exception can only be set when constructed.
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.