org.apache.commons.lang
Class SerializationException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--org.apache.commons.lang.exception.NestableRuntimeException
                          |
                          +--org.apache.commons.lang.SerializationException
All Implemented Interfaces:
Nestable, java.io.Serializable

public class SerializationException
extends NestableRuntimeException

Exception thrown when the Serialization process fails. The original error is wrapped within this one.

Version:
$Id: SerializationException.java,v 1.2 2002/08/31 11:11:03 scolebourne Exp $
Author:
Stephen Colebourne
See Also:
Serialized Form

Fields inherited from class org.apache.commons.lang.exception.NestableRuntimeException
cause, delegate
 
Fields inherited from class java.lang.Throwable
backtrace, detailMessage, serialVersionUID
 
Constructor Summary
SerializationException()
          Constructs a new SerializationException without specified detail message.
SerializationException(java.lang.String msg)
          Constructs a new SerializationException with specified detail message.
SerializationException(java.lang.String msg, java.lang.Throwable cause)
          Constructs a new SerializationException with specified detail message and nested Throwable.
SerializationException(java.lang.Throwable cause)
          Constructs a new SerializationException with specified nested Throwable.
 
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, getLocalizedMessage, printStackTrace0, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Constructor Detail

SerializationException

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

SerializationException

public SerializationException(java.lang.String msg)
Constructs a new SerializationException with specified detail message.
Parameters:
msg - The error message.

SerializationException

public SerializationException(java.lang.Throwable cause)
Constructs a new SerializationException with specified nested Throwable.
Parameters:
cause - The exception or error that caused this exception to be thrown.

SerializationException

public SerializationException(java.lang.String msg,
                              java.lang.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.


Copyright (c) 2001-2002 - Apache Software Foundation