Oracle Application Server Wireless Java API Reference
B14043-01


oracle.edge.common
Class GeneralException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byoracle.edge.common.GeneralException

All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ConvertException, EdgeExtensionException, EventDispatchException, MethodNotSupportedException, NoDeviceException

public class GeneralException
extends java.lang.Exception

An exception with error code support.

See Also:
Serialized Form

Constructor Summary
GeneralException()
Default constructor.
GeneralException(long ErrorCode)
Constructor with specified error code.
GeneralException(long ErrorCode, java.lang.String Description)
Constructor with specified error code and error description.
GeneralException(java.lang.String Description)
Constructor with specified error code.

Method Summary
long getErrorCode()
Get error code associated with this exception.
void setErrorCode(long ErrorCode)
Set error code associated with this exception.

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

GeneralException

public GeneralException()
Default constructor.

GeneralException

public GeneralException(long ErrorCode)
Constructor with specified error code.
Parameters:
ErrorCode - specified error code.

GeneralException

public GeneralException(long ErrorCode,
                        java.lang.String Description)
Constructor with specified error code and error description.
Parameters:
ErrorCode - specified error code.
Description - specified error description.

GeneralException

public GeneralException(java.lang.String Description)
Constructor with specified error code.
Parameters:
Description - specified error description.

Method Detail

getErrorCode

public long getErrorCode()
Get error code associated with this exception.
Returns:
error code.

setErrorCode

public void setErrorCode(long ErrorCode)
Set error code associated with this exception.
Parameters:
ErrorCode - specified error code.

Oracle Application Server Wireless Java API Reference
B14043-01


Copyright © 2004 Oracle Corporation. All Rights Reserved.