jnlp.sample.servlet
Class ErrorResponseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by jnlp.sample.servlet.ErrorResponseException
All Implemented Interfaces:
Serializable

public class ErrorResponseException
extends Exception

An exception that holds a DownloadResponse object. This exception can be thrown with the content describing the message that should be returned in the HTTP respond

See Also:
Serialized Form

Constructor Summary
ErrorResponseException(DownloadResponse downloadResponse)
           
 
Method Summary
 DownloadResponse getDownloadResponse()
           
 String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ErrorResponseException

public ErrorResponseException(DownloadResponse downloadResponse)
Method Detail

getDownloadResponse

public DownloadResponse getDownloadResponse()

toString

public String toString()
Overrides:
toString in class Throwable


Copyright © 2005-2011 Sun Microsystems. All Rights Reserved.