|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception org.gridforum.gridrpc.GrpcException
Keeps information about an occurred error in Grid RPC libraries.
If error occurred in Grid RPC libraries, an object of this class must be thrown.
This class keeps string which describe about an error, and an Exception object
which was catched in Grid RPC libraries.
Field Summary | |
java.lang.Exception |
innerException
an Exception object which was catched in Grid RPC libraries. |
java.io.PrintStream |
os
a PrintStream object to put a message about error. You can change where to put information strings by setting this variable. |
java.lang.String |
str
a string which describe about an error. |
Constructor Summary | |
GrpcException()
Creates GrpcException |
|
GrpcException(java.lang.Exception e)
Creates GrpcException with Exception |
|
GrpcException(java.lang.String str)
Creates GrpcException with string |
Method Summary | |
void |
printStackTrace()
Prints information of stackTrace to PrintStream specified by os . |
java.lang.String |
toString()
Prints an information string which described about an error to PrintStream specified by os . |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public java.lang.String str
public java.lang.Exception innerException
public java.io.PrintStream os
Constructor Detail |
public GrpcException()
public GrpcException(java.lang.String str)
str
- a string which describe about an error.public GrpcException(java.lang.Exception e)
e
- an Exception object which was catched in Grid RPC libraries.Method Detail |
public void printStackTrace()
os
.
Throwable.printStackTrace()
public java.lang.String toString()
os
.
Object.toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |