org.joda.util
Class IllegalStateJodaException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--java.lang.IllegalStateException
|
+--org.joda.util.IllegalStateJodaException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- NullValueJodaException, UnmodifiableJodaException
- public class IllegalStateJodaException
- extends java.lang.IllegalStateException
Exception thrown when an attempt was made to query or modify an
object when its state did not permit it. Details of the object
are encapsulated in the exception.
- Author:
- Stephen Colebourne
- See Also:
- Serialized Form
Method Summary |
java.lang.Object |
getSource()
Get the object that generated the exception |
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 |
IllegalStateJodaException
public IllegalStateJodaException(java.lang.Object errSource,
java.lang.String baseMessage)
- Constructor
- Parameters:
errSource
- the object that generated the exception
IllegalStateJodaException
public IllegalStateJodaException(java.lang.Object errSource)
- Constructor
- Parameters:
errSource
- the object that generated the exception
getSource
public java.lang.Object getSource()
- Get the object that generated the exception
- Returns:
- the source
Copyright © 2001-2003 Stephen Colebourne. All Rights Reserved.