com.emarsys.ecommon.exceptions
Class ImmutableObjectException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.IllegalStateException
                  extended by com.emarsys.ecommon.exceptions.ImmutableObjectException
All Implemented Interfaces:
java.io.Serializable

public class ImmutableObjectException
extends java.lang.IllegalStateException

Indicates and illegal attempt to change an immutable object. Note: its an unchecked exception, because this reflects a typical programming error not an coincidental exceptional state of the program!

Author:
Michael "kULO" Kulovits
See Also:
Serialized Form

Constructor Summary
ImmutableObjectException(java.lang.String message)
           
ImmutableObjectException(java.lang.String message, java.lang.Throwable cause)
           
 
Method Summary
 
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

ImmutableObjectException

public ImmutableObjectException(java.lang.String message)
Parameters:
message -

ImmutableObjectException

public ImmutableObjectException(java.lang.String message,
                                java.lang.Throwable cause)
Parameters:
message -
cause -


Copyright © 2010 emarsys AG. All Rights Reserved.