Class LEAPSerializationException

  • All Implemented Interfaces:
    Serializable

    public class LEAPSerializationException
    extends Exception
    A LEAPSerializationException is used as generic exception to ease the handling of all exceptions that may occur during the LEAP surrogate serialization mechanism. The LEAP surrogate serialization mechanism only throws this type of exception and encapsulates an occurred exception. This way, all possible exceptions during LEAP serialization can be handled by handling this LEAPSerializationException. If the detailed exception is needed, it is available in field detail.
    Version:
    1.0, 09/11/2000
    Author:
    Michael Watzke
    See Also:
    Serialized Form
    • Field Detail

      • detail

        public Throwable detail
        Nested Exception to hold wrapped exception.
    • Constructor Detail

      • LEAPSerializationException

        public LEAPSerializationException()
        Constructs a LEAPSerializationException with no specified detail message.
      • LEAPSerializationException

        public LEAPSerializationException​(String s)
        Constructs a LEAPSerializationException with the specified detail message.
        Parameters:
        s - the detail message
      • LEAPSerializationException

        public LEAPSerializationException​(String s,
                                          Throwable ex)
        Constructs a LEAPSerializationException with the specified detail message and nested exception.
        Parameters:
        s - the detail message
        ex - the nested exception
    • Method Detail

      • getMessage

        public String getMessage()
        Get the detail message, including the message from the nested exception if there is one.
        Overrides:
        getMessage in class Throwable
        Returns:
        the detail message