Package org.eclipse.osgi.signedcontent
Class InvalidContentException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- org.eclipse.osgi.signedcontent.InvalidContentException
-
- All Implemented Interfaces:
java.io.Serializable
public class InvalidContentException extends java.io.IOExceptionIndicates that signed content is invalid according to one of the signers.- Since:
- 3.4
- See Also:
- Serialized Form
- Restriction:
- This class is not intended to be subclassed by clients.
-
-
Constructor Summary
Constructors Constructor Description InvalidContentException(java.lang.String message, java.lang.Throwable cause)Constructs anInvalidContentExceptionwith the specified detail message and cause.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ThrowablegetCause()Returns the cause of this exception ornullif no cause was specified when this exception was created.java.lang.ThrowableinitCause(java.lang.Throwable t)The cause of this exception can only be set when constructed.
-
-
-
Method Detail
-
getCause
public java.lang.Throwable getCause()
Returns the cause of this exception ornullif no cause was specified when this exception was created.- Overrides:
getCausein classjava.lang.Throwable- Returns:
- The cause of this exception or
nullif no cause was created.
-
initCause
public java.lang.Throwable initCause(java.lang.Throwable t)
The cause of this exception can only be set when constructed.- Overrides:
initCausein classjava.lang.Throwable- Parameters:
t- Cause of the exception.- Returns:
- This object.
- Throws:
java.lang.IllegalStateException- This method will always throw anIllegalStateExceptionsince the cause of this exception can only be set when constructed.
-
-