org.apgrid.grpc.ng
Class NgArgSizeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.gridforum.gridrpc.GrpcException
org.apgrid.grpc.ng.NgException
org.apgrid.grpc.ng.NgArgSizeException
- All Implemented Interfaces:
- java.io.Serializable
- public class NgArgSizeException
- extends NgException
Thrown to indicate that the size of specified array is incorrect.
Probably, the size of the actually passed arrangement differs
from the size defined as IDL file.
- See Also:
- Serialized Form
|
Constructor Summary |
NgArgSizeException(int size,
int accessing,
int dimension)
Creates NgArgSizeException with information of error. |
NgArgSizeException(java.lang.String string)
Creates NgArgSizeException with an error message. |
|
Method Summary |
java.lang.String |
toString()
Prints an information string which described about an error
to PrintStream specified by GrpcException.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 |
NgArgSizeException
public NgArgSizeException(java.lang.String string)
- Creates NgArgSizeException with an error message.
- Parameters:
string - a string which indicates error.
NgArgSizeException
public NgArgSizeException(int size,
int accessing,
int dimension)
- Creates NgArgSizeException with information of error.
- Parameters:
size - size of the array.accessing - the number of the array tried in order to access.dimension - the index number of depth of the array.
toString
public java.lang.String toString()
- Description copied from class:
GrpcException
- Prints an information string which described about an error
to PrintStream specified by
GrpcException.os.
- Overrides:
toString in class GrpcException
- See Also:
Object.toString()