Login | Register
My pages Projects Community openCollabNet

The Tigris site will receive a major upgrade the evening of Monday, December 1, beginning at 8:30 pm PST. Downtime is projected to be about ten hours. Further details in the announcement


jmt.codebase
Class AnalysationException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--jmt.codebase.AnalysationException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ByteSourceAnalysationException, JavaResourceAnalysationException

public abstract class AnalysationException
extends java.lang.Exception

The AnalysationException indicates an error in a analysating phase.

Author:
Martin Kersten
See Also:
Serialized Form

Constructor Summary
AnalysationException(Resource resource, java.lang.String message)
          Constructs the instance..
 
Method Summary
 Resource getResource()
          Returns the resource causing the exception.
 java.lang.String toString()
          Returns a string decribing the instance.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AnalysationException

public AnalysationException(Resource resource,
                            java.lang.String message)
Constructs the instance..

Parameters:
message - The message explaining the reason of the exception
resource - The resource related to the exception
Method Detail

getResource

public Resource getResource()
Returns the resource causing the exception.

Returns:
The resource causing the exception.

toString

public java.lang.String toString()
Returns a string decribing the instance.

Overrides:
toString in class java.lang.Throwable
Returns:
A string describing the instance