com.sun.grid.jgrid.proxy
Class ComputeProxy.StreamException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.io.IOException
              extended bycom.sun.grid.jgrid.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
 

Field Detail

wanted

private java.lang.String wanted
What was expected


got

private java.lang.String got
What was actually read

Constructor Detail

ComputeProxy.StreamException

ComputeProxy.StreamException(java.lang.String wanted,
                             java.lang.String got)
Creates a new StreamException

Parameters:
wanted - what was expected
got - what was actually read
Method Detail

getMessage

public java.lang.String getMessage()
Returns the exception error message

Returns:
the exception error message