edu.utah.janosvm.resources
Class ResourceSpecException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--edu.utah.janosvm.resources.ResourceSpecException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- DuplicateResourceSpecException
- public class ResourceSpecException
- extends java.lang.Exception
Exception indicating that the system couldn't satisfy a resource
specification.
- Author:
- Tim Stack, Utah Janos Team
- See Also:
- Serialized Form
Fields inherited from class java.lang.Throwable |
backtrace, cause, message, serialVersionUID, setCause |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, initCause, printStackTrace, printStackTrace, printStackTrace, printStackTrace0 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait, wait0 |
unsatisfiedSpec
private ResourceSpec unsatisfiedSpec
- The ResourceSpec that couldn't be satisfied.
ResourceSpecException
public ResourceSpecException()
- Construct an empty ResourceSpecException.
ResourceSpecException
public ResourceSpecException(java.lang.String msg)
- Construct a ResourceSpecException with a message.
- Parameters:
msg
- A description of the problem.
ResourceSpecException
public ResourceSpecException(ResourceSpec unsatisfiedSpec)
- Construct a ResourceSpecException with an unsatisfied ResourceSpec.
- Parameters:
unsatisfiedSpec
- The ResourceSpec that couldn't be satisfied by
the system.
getUnsatisfiedSpec
public ResourceSpec getUnsatisfiedSpec()
- Returns:
- The ResourceSpec that couldn't be satisfied by the system, or
null if the resource was the default or internal.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Throwable
This documentation is Copyright (C) 2000-2003 The University of Utah. All Rights Reserved. See the documentation license for distribution terms and restrictions.
Documentation, software, and mailing lists for the JanosVM can be found at the Janos Project web page: http://www.cs.utah.edu/flux/janos/
Generated on Feb 13, 2003