Package org.silverpeas.core.importexport
Class EncodingException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.silverpeas.kernel.SilverpeasRuntimeException
-
- org.silverpeas.core.importexport.EncodingException
-
- All Implemented Interfaces:
Serializable
public class EncodingException extends org.silverpeas.kernel.SilverpeasRuntimeException
A runtime exception that is thrown when an error occurs while encoding a Silverpeas object into a formatted string or stream. It is a runtime exception because such exceptions shouldn't occur in an usual way.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EncodingException(String message)
Constructs a new encoding exception with the specified message.EncodingException(String message, Throwable thrwbl)
Constructs a new encoding exception with the specified message and the specified cause.EncodingException(Throwable thrwbl)
Constructs a new encoding exception with the specified cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
EncodingException
public EncodingException(Throwable thrwbl)
Constructs a new encoding exception with the specified cause.- Parameters:
thrwbl
- the cause of this exception.
-
EncodingException
public EncodingException(String message, Throwable thrwbl)
Constructs a new encoding exception with the specified message and the specified cause.- Parameters:
message
- the message.thrwbl
- the cause.
-
EncodingException
public EncodingException(String message)
Constructs a new encoding exception with the specified message.- Parameters:
message
- the message.
-
-