com.wles
Class BaseError

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bycom.wles.BaseError
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
InternalException, ServiceNotFoundException

public class BaseError
extends java.lang.RuntimeException

Base class for all ALES error classes. As with the java.lang.RuntimeException class these errors are serious enough that it is not expected that the user can recover from them.

See Also:
Serialized Form

Constructor Summary
BaseError()
           
BaseError(long errorCode)
          Constructs a BaseError with an internal ALES error code.
BaseError(java.lang.String msg)
          Constructs a BaseError with an error message.
 
Method Summary
 long getErrorCode()
          Gets the internal error code.
 
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

BaseError

public BaseError()

BaseError

public BaseError(long errorCode)
Constructs a BaseError with an internal ALES error code.

Parameters:
errorCode - internal ALES error code

BaseError

public BaseError(java.lang.String msg)
Constructs a BaseError with an error message.

Parameters:
msg - error message
Method Detail

getErrorCode

public long getErrorCode()
Gets the internal error code.

Returns:
internal error code


Copyright © 2005 BEA Systems Inc. All Rights Reserved.