com.sun.grid.proxy
Class ComputeProxy.StreamException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.io.IOException
|
+--com.sun.grid.proxy.ComputeProxy.StreamException
- All Implemented Interfaces:
- java.io.Serializable
- Enclosing class:
- ComputeProxy
- private class ComputeProxy.StreamException
- extends java.io.IOException
This Exception is used to signal that an error occured
while reading from the input stream that was not mechanical.
Field Summary |
private java.lang.String |
got
What was actually read |
private java.lang.String |
wanted
What was expected |
Fields inherited from class java.lang.Exception |
|
Fields inherited from class java.lang.Throwable |
|
Constructor Summary |
(package private) |
ComputeProxy.StreamException(java.lang.String wanted,
java.lang.String got)
Creates a new StreamException |
Method Summary |
java.lang.String |
getMessage()
Returns the exception error message |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
wanted
private java.lang.String wanted
- What was expected
got
private java.lang.String got
- What was actually read
ComputeProxy.StreamException
ComputeProxy.StreamException(java.lang.String wanted,
java.lang.String got)
- Creates a new StreamException
- Parameters:
wanted
- what was expectedgot
- what was actually read
getMessage
public java.lang.String getMessage()
- Returns the exception error message
- Overrides:
getMessage
in class java.lang.Throwable
- Returns:
- the exception error message