Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal
11g Release 1 (11.1.1.6.0)
E15995-05


oracle.wcps.property
Class OperationFailedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by oracle.wcps.property.OperationFailedException

All Implemented Interfaces:
java.io.Serializable

public class OperationFailedException
extends java.lang.RuntimeException

The OperationFailedException is thrown from a property service to indicate that a persistence operation has failed.

See Also:
Serialized Form

Nested Class Summary
static class OperationFailedException.Operation
          The Operation enum is used to indicate which persistence operation failed.

 

Constructor Summary
OperationFailedException(java.lang.Class modelClass, IName name, OperationFailedException.Operation operation, java.lang.Throwable cause)
          Constructs an OperationFailedException indicating that the specified operation failed on an object of the specified class with the specified name and root cause.
OperationFailedException(java.lang.Class modelClass, OperationFailedException.Operation operation, java.lang.Throwable cause)
          Constructs an OperationFailedException indicating that the specified operation failed on an object of the specified class with the specified root cause.
OperationFailedException(INamespaceName namespaceName, OperationFailedException.Operation operation, java.lang.Throwable cause)
          Constructs an OperationFailedException indicating that the specified operation performed on the Namespace with the specified name failed with the specified root cause.
OperationFailedException(IPropertyDefinitionName definitionName, OperationFailedException.Operation operation, java.lang.Throwable cause)
          Constructs an OperationFailedException indicating that the specified operation performed on the PropertyDefinition with the specified name failed with the specified root cause.
OperationFailedException(IPropertySetDefinitionName setDefinitionName, OperationFailedException.Operation operation, java.lang.Throwable cause)
          Constructs an OperationFailedException indicating that the specified operation performed on the PropertySetDefinition with the specified name failed with the specified root cause.
OperationFailedException(IPropertySetName propertySetName, OperationFailedException.Operation operation, java.lang.Throwable cause)
          Constructs an OperationFailedException indicating that the specified operation performed on the PropertySet with the specified name failed with the specified root cause.
OperationFailedException(java.lang.String message, java.lang.Throwable cause)
          Constructs an OperationFailedException with the specified message and cause.

 

Method Summary

 

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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

OperationFailedException

public OperationFailedException(java.lang.String message,
                                java.lang.Throwable cause)
Constructs an OperationFailedException with the specified message and cause.
Parameters:
message - - the message pertaining to this exception.
cause - - the root cause of the exception.

OperationFailedException

public OperationFailedException(java.lang.Class modelClass,
                                OperationFailedException.Operation operation,
                                java.lang.Throwable cause)
Constructs an OperationFailedException indicating that the specified operation failed on an object of the specified class with the specified root cause.
Parameters:
modelClass - - the object class pertaining to this exception.
operation - - the operation pertaining to this exception.
cause - - the root cause of this exception.

OperationFailedException

public OperationFailedException(java.lang.Class modelClass,
                                IName name,
                                OperationFailedException.Operation operation,
                                java.lang.Throwable cause)
Constructs an OperationFailedException indicating that the specified operation failed on an object of the specified class with the specified name and root cause.
Parameters:
modelClass - - the object class pertaining to this exception.
name - - the nae of the object pertaining to this exception.
operation - - the operation pertaining to this exception.
cause - - the root cause of this exception.

OperationFailedException

public OperationFailedException(INamespaceName namespaceName,
                                OperationFailedException.Operation operation,
                                java.lang.Throwable cause)
Constructs an OperationFailedException indicating that the specified operation performed on the Namespace with the specified name failed with the specified root cause.
Parameters:
namespaceName - - the name of the Namespace pertaining to this exception.
operation - - the operation pertaining to this exception.
cause - - the root cause of this exception.

OperationFailedException

public OperationFailedException(IPropertyDefinitionName definitionName,
                                OperationFailedException.Operation operation,
                                java.lang.Throwable cause)
Constructs an OperationFailedException indicating that the specified operation performed on the PropertyDefinition with the specified name failed with the specified root cause.
Parameters:
definitionName - - the name of the PropertyDefinition pertaining to this exception.
operation - - the operation pertaining to this exception.
cause - - the root cause of this exception.

OperationFailedException

public OperationFailedException(IPropertySetDefinitionName setDefinitionName,
                                OperationFailedException.Operation operation,
                                java.lang.Throwable cause)
Constructs an OperationFailedException indicating that the specified operation performed on the PropertySetDefinition with the specified name failed with the specified root cause.
Parameters:
setDefinitionName - - the name of the PropertySetDefinition pertaining to this exception.
operation - - the operation pertaining to this exception.
cause - - the root cause of this exception.

OperationFailedException

public OperationFailedException(IPropertySetName propertySetName,
                                OperationFailedException.Operation operation,
                                java.lang.Throwable cause)
Constructs an OperationFailedException indicating that the specified operation performed on the PropertySet with the specified name failed with the specified root cause.
Parameters:
propertySetName - - the name of the PropertySet pertaining to this exception.
operation - - the operation pertaining to this exception.
cause - - the root cause of this exception.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal
11g Release 1 (11.1.1.6.0)
E15995-05


Copyright © 2009, 2012, Oracle and/or its affiliates. All rights reserved.