org.apache.commons.lang

Class SerializationException

Implemented Interfaces:
Nestable, Serializable

public class SerializationException
extends NestableRuntimeException

Exception thrown when the Serialization process fails.

The original error is wrapped within this one.

Since:
1.0
See Also:
Serialized Form

Field Summary

Fields inherited from class org.apache.commons.lang.exception.NestableRuntimeException

delegate

Constructor Summary

SerializationException()
Constructs a new SerializationException without specified detail message.
SerializationException(String msg)
Constructs a new SerializationException with specified detail message.
SerializationException(String msg, Throwable cause)
Constructs a new SerializationException with specified detail message and nested Throwable.
SerializationException(Throwable cause)
Constructs a new SerializationException with specified nested Throwable.

Method Summary

Methods inherited from class org.apache.commons.lang.exception.NestableRuntimeException

getCause, getMessage, getMessage, getMessages, getThrowable, getThrowableCount, getThrowables, indexOfThrowable, indexOfThrowable, printPartialStackTrace, printStackTrace, printStackTrace, printStackTrace

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, extends Object> getClass, finalize, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Details

SerializationException

public SerializationException()
Constructs a new SerializationException without specified detail message.

SerializationException

public SerializationException(String msg)
Constructs a new SerializationException with specified detail message.
Parameters:
msg - The error message.
Usages and Demos :

View More Examples of SerializationException(String msg)
   1:       {
   2:          throw new SerializationException( e );
   3:       }
   4:    }

View Full Code Here
   1:       {
   2:          throw new SerializationException( e );
   3:       }
   4:    }

View Full Code Here

SerializationException

public SerializationException(String msg,
                              Throwable cause)
Constructs a new SerializationException with specified detail message and nested Throwable.
Parameters:
msg - The error message.
cause - The Exception or Error that caused this exception to be thrown.

SerializationException

public SerializationException(Throwable cause)
Constructs a new SerializationException with specified nested Throwable.
Parameters:
cause - The Exception or Error that caused this exception to be thrown.
Usages and Demos :

View More Examples of SerializationException(Throwable cause)
   1:       {
   2:          throw new SerializationException( e );
   3:       }
   4:    }

View Full Code Here
   1:       {
   2:          throw new SerializationException( e );
   3:       }
   4:    }

View Full Code Here