Oxygen XML Editor 14.2 Author API

ro.sync.ecss.extensions.api
Class AuthorOperationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by ro.sync.ecss.extensions.api.AuthorOperationException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AuthorOperationStoppedByUserException

@API(type=EXTENDABLE,
     src=PUBLIC)
public class AuthorOperationException
extends java.lang.Exception

An exception thrown by an AuthorOperation when it fails.

See Also:
Serialized Form

Constructor Summary
AuthorOperationException(java.lang.String message)
          Constructor.
AuthorOperationException(java.lang.String message, java.lang.Throwable cause)
          Constructor.
 
Method Summary
 boolean isOperationRejectedOnPurpose()
           
 void setOperationRejectedOnPurpose(boolean operationRejected)
           
 
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

AuthorOperationException

public AuthorOperationException(java.lang.String message)
Constructor.

Parameters:
message - The error message.

AuthorOperationException

public AuthorOperationException(java.lang.String message,
                                java.lang.Throwable cause)
Constructor.

Parameters:
message - The error message.
cause - The cause of the exception.
Method Detail

setOperationRejectedOnPurpose

public void setOperationRejectedOnPurpose(boolean operationRejected)
Parameters:
operationRejected - The operationRejected to set.

isOperationRejectedOnPurpose

public boolean isOperationRejectedOnPurpose()
Returns:
true if the operation was rejected by the schema aware actions. It is not a programming mistake.

Oxygen XML Editor 14.2 Author API

© Copyright SyncRO Soft SRL 2002 - 2013. All rights reserved.