com.bea.dsp.management.exceptions
Class ManagementException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.bea.dsp.management.exceptions.ManagementException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
DeploymentUnitBuildException

public class ManagementException
extends java.lang.Exception

See Also:
Serialized Form

Nested Class Summary
static class ManagementException.ErrorCode
           
 
Constructor Summary
ManagementException(ManagementException.ErrorCode errorCode)
           
ManagementException(ManagementException.ErrorCode errorCode, java.lang.Object[] params)
           
ManagementException(ManagementException.ErrorCode errorCode, java.lang.Object[] params, java.lang.Throwable cause)
           
 
Method Summary
 ManagementException.ErrorCode getErrorCode()
           
 java.lang.Throwable initCause(java.lang.Throwable cause)
          Note that this method slightly modifies the contract of the corresponding parent method by allowing multiple calls with null as argument.
 void printStackTrace(java.io.PrintStream s)
           
 void printStackTrace(java.io.PrintWriter s)
           
static java.lang.String serialize(java.lang.Throwable t)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ManagementException

public ManagementException(ManagementException.ErrorCode errorCode)

ManagementException

public ManagementException(ManagementException.ErrorCode errorCode,
                           java.lang.Object[] params)

ManagementException

public ManagementException(ManagementException.ErrorCode errorCode,
                           java.lang.Object[] params,
                           java.lang.Throwable cause)
Method Detail

getErrorCode

public ManagementException.ErrorCode getErrorCode()

serialize

public static java.lang.String serialize(java.lang.Throwable t)
Parameters:
t - Assumed not null.
Returns:
A string form for t.

initCause

public java.lang.Throwable initCause(java.lang.Throwable cause)
Note that this method slightly modifies the contract of the corresponding parent method by allowing multiple calls with null as argument.

Overrides:
initCause in class java.lang.Throwable
Parameters:
cause - May be null.

printStackTrace

public void printStackTrace(java.io.PrintStream s)
Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintWriter s)
Overrides:
printStackTrace in class java.lang.Throwable


Copyright © 2007 BEA Systems Inc. All Rights Reserved.