com.silverpeas.export
Class EncodingException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.silverpeas.export.EncodingException
All Implemented Interfaces:
Serializable

public class EncodingException
extends RuntimeException

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
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
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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.


Copyright © 2016 Silverpeas. All Rights Reserved.