"WEBNMS_5 API Docs"

com.adventnet.nms.fault
Class FaultException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.adventnet.nms.fault.FaultException
All Implemented Interfaces:
java.io.Serializable

public class FaultException
extends java.lang.Exception

Exception which will be thrown if an error occurs while performing a Fault operation.

See Also:
Serialized Form

Constructor Summary
FaultException(java.lang.String str, java.lang.Exception e)
          FaultException is created with the message 'str' and Exception 'e'.
 
Method Summary
 java.lang.Exception getException()
          returns the exception.
 java.lang.String getMessage()
          returns the exception 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
 

Constructor Detail

FaultException

public FaultException(java.lang.String str,
                      java.lang.Exception e)
FaultException is created with the message 'str' and Exception 'e'.

Parameters:
str - a String value containing the message.
e - an Exception value containing the exception
Method Detail

getException

public java.lang.Exception getException()
returns the exception.

Returns:
an Exception value

getMessage

public java.lang.String getMessage()
returns the exception message.

Overrides:
getMessage in class java.lang.Throwable
Returns:
message of the exception

"WEBNMS_5 API Docs"

Copyright © 2011 ZOHO Corp., All Rights Reserved.