Joda System API

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

Constructor Summary
IllegalStateJodaException(java.lang.Object errSource)
          Constructor
IllegalStateJodaException(java.lang.Object errSource, java.lang.String baseMessage)
          Constructor
 
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
 

Constructor Detail

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
Method Detail

getSource

public java.lang.Object getSource()
Get the object that generated the exception

Returns:
the source

Joda System API

Copyright © 2001-2003 Stephen Colebourne. All Rights Reserved.