|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.rioproject.monitor.ProvisionException
public class ProvisionException
Thrown when an unrecoverable exception happens trying to provision a service
| Constructor Summary | |
|---|---|
ProvisionException()
Constructs a ProvisionException with no detail
message. |
|
ProvisionException(String s)
Constructs a ProvisionException with the specified
detail message |
|
ProvisionException(String s,
Throwable cause)
Constructs a ProvisionException with the specified
detail message and optional exception that was raised |
|
ProvisionException(String s,
Throwable cause,
boolean unInstantiable)
Constructs a ProvisionException with the specified
detail message, optional exception that was raised |
|
| Method Summary | |
|---|---|
boolean |
isUninstantiable()
Returns whether the raised exception is in reference to a service that is not provisionable, due to such reasons as missing classes or resources |
void |
printStackTrace()
Prints the stack backtrace. |
void |
printStackTrace(PrintStream ps)
Prints the stack backtrace to the specified print stream. |
void |
printStackTrace(PrintWriter pw)
Prints the stack backtrace to the specified print writer. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ProvisionException()
ProvisionException with no detail
message.
public ProvisionException(String s)
ProvisionException with the specified
detail message
s - the detail message.
public ProvisionException(String s,
Throwable cause)
ProvisionException with the specified
detail message and optional exception that was raised
s - the detail messagecause - the exception that was raised
public ProvisionException(String s,
Throwable cause,
boolean unInstantiable)
ProvisionException with the specified
detail message, optional exception that was raised
s - The detail messagecause - The exception that was raised while provisioningunInstantiable - - Whether the raised exception is in reference to a
service that is not provisionable| Method Detail |
|---|
public boolean isUninstantiable()
public void printStackTrace()
printStackTrace in class ThrowableSystem.errpublic void printStackTrace(PrintStream ps)
printStackTrace in class Throwablepublic void printStackTrace(PrintWriter pw)
printStackTrace in class Throwable
|
Copyright © Rio Project. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||