org.simpleframework.transport
Class TerminateException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by org.simpleframework.transport.TerminateException
All Implemented Interfaces:
Serializable

public class TerminateException
extends IOException

The TerminateException object is used to represent an exception that is thrown when there is a problem terminating the server. Typically this is thrown by any service that has had a problem responding to a request to terminate the server.

Author:
Niall Gallagher
See Also:
Serialized Form

Constructor Summary
TerminateException(String message)
          Constructor for the TerminateException object.
TerminateException(String message, Throwable cause)
          Constructor for the TerminateException object.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TerminateException

public TerminateException(String message)
Constructor for the TerminateException object. This is used to represent an exception that is thrown when attempting to terminate the server fails for some reason.

Parameters:
message - this is the message describing the exception

TerminateException

public TerminateException(String message,
                          Throwable cause)
Constructor for the TerminateException object. This is used to represent an exception that is thrown when attempting to terminate the server fails for some reason.

Parameters:
message - this is the message describing the exception
cause - this is the cause of the termination exception


Copyright © 2013. All Rights Reserved.