COM.claymoresystems.ptls
Class SSLAlertException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by COM.claymoresystems.ptls.SSLException
                  extended by COM.claymoresystems.ptls.SSLAlertException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
SSLCaughtAlertException, SSLThrewAlertException

public class SSLAlertException
extends SSLException

Represents an Alert.

See Also:
Serialized Form

Constructor Summary
SSLAlertException(COM.claymoresystems.ptls.SSLAlertX alert_)
           
 
Method Summary
 boolean fatalP()
          Was this alert fatal?
 java.lang.String getExplanation()
          Return a textual description of this alert
 
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

SSLAlertException

public SSLAlertException(COM.claymoresystems.ptls.SSLAlertX alert_)
Method Detail

fatalP

public boolean fatalP()
Was this alert fatal?

Fatal alerts mean that the connection is permanently closed because an unrecoverable error occurred. Nonfatal alerts are basically advisory.

Returns:
true if it was, false if it wasn't

getExplanation

public java.lang.String getExplanation()
Return a textual description of this alert

Returns:
a string describing this alert


Copyright (c) 1999-2001 Claymore Systems, Inc., All Rights Reserved.