Package jade.imtp.leap
Class LEAPSerializationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- jade.imtp.leap.LEAPSerializationException
-
- All Implemented Interfaces:
Serializable
public class LEAPSerializationException extends Exception
ALEAPSerializationExceptionis 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 thisLEAPSerializationException. If the detailed exception is needed, it is available in fielddetail.- Version:
- 1.0, 09/11/2000
- Author:
- Michael Watzke
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LEAPSerializationException()Constructs aLEAPSerializationExceptionwith no specified detail message.LEAPSerializationException(String s)Constructs aLEAPSerializationExceptionwith the specified detail message.LEAPSerializationException(String s, Throwable ex)Constructs aLEAPSerializationExceptionwith the specified detail message and nested exception.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetMessage()Get the detail message, including the message from the nested exception if there is one.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Field Detail
-
detail
public Throwable detail
Nested Exception to hold wrapped exception.
-
-
Constructor Detail
-
LEAPSerializationException
public LEAPSerializationException()
Constructs aLEAPSerializationExceptionwith no specified detail message.
-
LEAPSerializationException
public LEAPSerializationException(String s)
Constructs aLEAPSerializationExceptionwith the specified detail message.- Parameters:
s- the detail message
-
-
Method Detail
-
getMessage
public String getMessage()
Get the detail message, including the message from the nested exception if there is one.- Overrides:
getMessagein classThrowable- Returns:
- the detail message
-
-