BEA Systems, Inc.

weblogic.management.utils
Class CreateException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by weblogic.utils.NestedException
              extended by weblogic.management.utils.CreateException
All Implemented Interfaces:
Serializable, weblogic.utils.NestedThrowable

public final class CreateException
extends weblogic.utils.NestedException

The CreateException exception is thrown when there is a problem detected with the object to be created. This exception typically contains a nested exception (returned from the entity attempting to create the object) that provides more information about the underlying error.

For example, if a management runtime method detects that the expression format supplied for creating a security role or a security policy is invalid, it may throw a CreateException exception.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface weblogic.utils.NestedThrowable
weblogic.utils.NestedThrowable.Util
 
Field Summary
 
Fields inherited from class weblogic.utils.NestedException
nested
 
Constructor Summary
CreateException(String message)
          Constructs a CreateException with the specified detail message.
CreateException(String message, Throwable t)
          Constructs a CreateException that specifies the detail message and the nested exception.
CreateException(Throwable t)
          Constructs a CreateException that specifies the nested exception.
 
Method Summary
 
Methods inherited from class weblogic.utils.NestedException
getMessage, getNested, getNestedException, printStackTrace, printStackTrace, printStackTrace, superPrintStackTrace, superPrintStackTrace, superToString, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CreateException

public CreateException(String message,
                       Throwable t)
Constructs a CreateException that specifies the detail message and the nested exception. A detail message is a String that describes this particular exception.

Parameters:
message - a String providing additional information about this exception.

t - the exception to be nested inside this exception.


CreateException

public CreateException(Throwable t)
Constructs a CreateException that specifies the nested exception.

Parameters:
t - the exception to be nested inside this exception.


CreateException

public CreateException(String message)
Constructs a CreateException with the specified detail message. A detail message is a String that describes this particular exception.

Parameters:
message - a String providing additional information about this exception.


Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs92
Copyright 2006 BEA Systems Inc.