JTools

org.jtools.activate
Class ResourceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.jtools.activate.ResourceException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
InstantiateException

public class ResourceException
extends Exception

TODO type-description

Author:
Rainer Noack
See Also:
Serialized Form

Field Summary
static String CLASSCAST
           
static String CLASSNOTFOUND
           
static String COMPOUND
           
static String IO
           
static String NOMORERESOURCE
           
 
Constructor Summary
ResourceException(ActivatableInfo resource)
           
ResourceException(ActivatableInfo resource, Throwable cause)
           
ResourceException(String resourceName)
           
ResourceException(String resourceName, Throwable cause)
           
 
Method Summary
 void addReason(Object msg)
           
 Object getReasonCode()
           
 Object[] getReasons()
           
 ActivatableInfo getResource()
           
 String getResourceName()
           
 void setReasonCode(Object reasonCode)
           
 
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
 

Field Detail

COMPOUND

public static final String COMPOUND
See Also:
Constant Field Values

CLASSNOTFOUND

public static final String CLASSNOTFOUND
See Also:
Constant Field Values

CLASSCAST

public static final String CLASSCAST
See Also:
Constant Field Values

IO

public static final String IO
See Also:
Constant Field Values

NOMORERESOURCE

public static final String NOMORERESOURCE
See Also:
Constant Field Values
Constructor Detail

ResourceException

public ResourceException(ActivatableInfo resource)

ResourceException

public ResourceException(String resourceName)

ResourceException

public ResourceException(ActivatableInfo resource,
                         Throwable cause)

ResourceException

public ResourceException(String resourceName,
                         Throwable cause)
Method Detail

getReasons

public Object[] getReasons()

addReason

public void addReason(Object msg)

getResource

public ActivatableInfo getResource()

getReasonCode

public Object getReasonCode()

setReasonCode

public void setReasonCode(Object reasonCode)

getResourceName

public String getResourceName()

JTools

© 2000-2006, JTools.org.