org.glite.rgma
Class UnknownResourceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.glite.rgma.UnknownResourceException
All Implemented Interfaces:
java.io.Serializable

public class UnknownResourceException
extends java.lang.Exception

Exception thrown when a resource cannot be found in the resource framework.

See Also:
Serialized Form

Constructor Summary
UnknownResourceException(java.lang.String message)
          Constructs an UnknownResourceException object.
UnknownResourceException(java.lang.String message, int errNo)
          Constructs an UnknownResourceException object.
 
Method Summary
 int getErrorNumber()
          Returns the error number for this 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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnknownResourceException

public UnknownResourceException(java.lang.String message)
Constructs an UnknownResourceException object.

Parameters:
message - Error message.

UnknownResourceException

public UnknownResourceException(java.lang.String message,
                                int errNo)
Constructs an UnknownResourceException object.

Parameters:
message - Error message.
errNo - Error number.
Method Detail

getErrorNumber

public int getErrorNumber()
Returns the error number for this exception.

Returns:
Exception error number.