Class EncodingFailedException

java.lang.Object
java.lang.Throwable
java.lang.Exception
i5.las2peer.persistency.EncodingFailedException
All Implemented Interfaces:
java.io.Serializable

public class EncodingFailedException
extends java.lang.Exception
Exception thrown if an encoding has failed for some reason.
See Also:
Serialized Form
  • Constructor Summary

    Constructors 
    Constructor Description
    EncodingFailedException​(java.lang.String message)
    This constructor sets only the message for this exception and leaves the cause to null.
    EncodingFailedException​(java.lang.String message, java.lang.Throwable cause)
    This constructor allows to set message and cause for this exception.
    EncodingFailedException​(java.lang.Throwable cause)
    This constructor leaves the message null and sets only the cause for this exception.
  • Method Summary

    Methods inherited from class java.lang.Throwable

    addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • EncodingFailedException

      public EncodingFailedException​(java.lang.String message)
      This constructor sets only the message for this exception and leaves the cause to null.
      Parameters:
      message - A message that describes the error.
    • EncodingFailedException

      public EncodingFailedException​(java.lang.Throwable cause)
      This constructor leaves the message null and sets only the cause for this exception. This is usually used to wrap other exception types and unify exception handling for the developer.
      Parameters:
      cause - An other exception that caused this one.
    • EncodingFailedException

      public EncodingFailedException​(java.lang.String message, java.lang.Throwable cause)
      This constructor allows to set message and cause for this exception.
      Parameters:
      message - A message that describes the error.
      cause - An other exception that caused this one.