org.axonframework.serializer
Class SerializationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.axonframework.common.AxonException
                  extended by org.axonframework.common.AxonNonTransientException
                      extended by org.axonframework.serializer.SerializationException
All Implemented Interfaces:
Serializable

public class SerializationException
extends AxonNonTransientException

Indicates that an exception occurred while serializing or deserializing an object.

Since:
0.6
Author:
Allard Buijze
See Also:
Serialized Form

Constructor Summary
SerializationException(String message)
          Initializes the exception using the given message.
SerializationException(String message, Throwable cause)
          Initializes the exception using the given message and cause.
 
Method Summary
 
Methods inherited from class org.axonframework.common.AxonNonTransientException
isCauseOf
 
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, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SerializationException

public SerializationException(String message)
Initializes the exception using the given message.

Parameters:
message - The message describing the exception

SerializationException

public SerializationException(String message,
                              Throwable cause)
Initializes the exception using the given message and cause.

Parameters:
message - The message describing the exception
cause - The underlying cause of the exception


Copyright © 2010-2016. All Rights Reserved.