Secure iNet Factory

com.jscape.inet.bsd
Class BsdException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.jscape.inet.bsd.BsdException
All Implemented Interfaces:
ExceptionWrapper, java.io.Serializable

public class BsdException
extends java.lang.Exception
implements ExceptionWrapper

BsdException is thrown by many methods of Bsd r classes. The methods are masking various exception types into BsdException, but the event message will be propagated.

See Also:
Serialized Form

Constructor Summary
BsdException(java.lang.String message)
          Creates exception with specified message string.
BsdException(java.lang.String message, java.lang.Exception exception)
          Creates exception with specified message string and Exception.
 
Method Summary
 java.lang.Exception getException()
          Gets Exception which caused this BsdException.
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BsdException

public BsdException(java.lang.String message)
Creates exception with specified message string.

Parameters:
message - a message describing error

BsdException

public BsdException(java.lang.String message,
                    java.lang.Exception exception)
Creates exception with specified message string and Exception.

Parameters:
message - a message describing error
exception - the Exception which caused this BsdException
Method Detail

getException

public java.lang.Exception getException()
Gets Exception which caused this BsdException.

Specified by:
getException in interface ExceptionWrapper
Returns:
an Exception or null if not found

Secure iNet Factory

Copyright © JSCAPE LLC. 1999-2011. All Rights Reserved