org.apgrid.grpc.ng
Class NgException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.gridforum.gridrpc.GrpcException
              extended byorg.apgrid.grpc.ng.NgException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
NgArgSizeException, NgArgTypeException, NgExecRemoteMethodException, NgFinalizeGrpcClientException, NgFinalizeGrpcHandleException, NgHeartbeatTimeoutException, NgInitializeGrpcClientException, NgInitializeGrpcHandleException, NgIOException, NgXMLReadException

public class NgException
extends GrpcException

Thrown to indicate that something wrong was happened in Ninf-G Java library.
This is the super class of Exception classes which included in this package.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.gridforum.gridrpc.GrpcException
innerException, os, str
 
Constructor Summary
NgException()
          Creates NgException.
NgException(java.lang.Exception e)
          Creates NgException with original Exception.
NgException(java.lang.String string)
          Creates NgException with an error message.
NgException(java.lang.String string, java.lang.Exception e)
          Creates NgException with an error message and original Exception.
 
Methods inherited from class org.gridforum.gridrpc.GrpcException
printStackTrace, toString
 
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
 

Constructor Detail

NgException

public NgException(java.lang.String string,
                   java.lang.Exception e)
Creates NgException with an error message and original Exception.

Parameters:
string - an error message.
e - original Exception.

NgException

public NgException()
Creates NgException.


NgException

public NgException(java.lang.Exception e)
Creates NgException with original Exception.

Parameters:
e - original Exception.

NgException

public NgException(java.lang.String string)
Creates NgException with an error message.

Parameters:
string - an error message.