|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
lp.wrap.WrapperException
public class WrapperException
An exception thrown by LparseWrapper
and SmodelsWrapper
when
there are problems while invoking an external command with the desired
command line options, environment variables and standard input or while
reading the standard/error output of the resulting Process
instance
or waiting for the process to finish execution.
Constructor Summary | |
---|---|
WrapperException(String message)
Constructs a WrapperException with the specified detail message. |
|
WrapperException(String message,
Throwable cause)
Constructs a WrapperException with the specified detail message
and cause. |
|
WrapperException(Throwable cause)
Constructs a WrapperException with the specified cause and a
detail message of {@code (cause==null ? |
Method Summary |
---|
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 |
Constructor Detail |
---|
public WrapperException(String message)
WrapperException
with the specified detail message.
message
- the detail message (which is saved for later retrieval
by the Throwable.getMessage()
method)public WrapperException(String message, Throwable cause)
WrapperException
with the specified detail message
and cause.
Note that the detail message associated with cause
is
not automatically incorporated into this exception's detail
message.
message
- the detail message (which is saved for later retrieval
by the Throwable.getMessage()
method)cause
- the cause (which is saved for later retrieval by the
Throwable.getCause()
method). (A null value is permitted, and indicates
that the cause is nonexistent or unknown.)public WrapperException(Throwable cause)
WrapperException
with the specified cause and a
detail message of (cause==null ? null : cause.toString())
(which typically contains the class and detail message of cause
).
This constructor is useful for wrapper exceptions that are little more
than wrappers for other throwables.
cause
- the cause (which is saved for later retrieval by the
Throwable.getCause()
method). (A null value is permitted, and indicates
that the cause is nonexistent or unknown.)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |