|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
oracle.sysman.dbTarget.db.changemgr.emo.cpapi.ChangePlanAccessException
public class ChangePlanAccessException
ChangePlanAccessException is a general-purpose Exception thrown by many methods in the ChangePlanAccess family. It defines several reason codes for the various user error conditions that may be encountered while using thie API to work with Change Plans.
Field Summary | |
---|---|
static int |
CP_INVALID_ARG
|
static int |
CP_ITEM_EXISTS
|
static int |
CP_ITEM_NOT_EXIST
|
static int |
CP_MISSING_ARG
|
static int |
CP_NO_OPEN_PLAN
|
static int |
CP_NO_PERMISSION
|
static int |
CP_NO_REASON
|
static int |
CP_NOT_LOGGED_IN
|
static int |
CP_PLAN_EXISTS
|
static int |
CP_PLAN_NOT_EXIST
|
static int |
CP_UNEXPECTED_XCPN
|
Constructor Summary | |
---|---|
ChangePlanAccessException(int reason)
Constructs a ChangePlanAccessException with the specified reason. |
|
ChangePlanAccessException(int reason,
java.lang.String message)
Constructs a ChangePlanAccessException with the specified reason, and a message detailing the problem |
|
ChangePlanAccessException(int reason,
java.lang.String message,
java.lang.Throwable cause)
Constructs a ChangePlanAccessException with the specified reason, a message detailing the problem, and the lower-level exception that caused the problem |
|
ChangePlanAccessException(int reason,
java.lang.Throwable cause)
Constructs a ChangePlanAccessException with the specified reason, and the lower-level exception that caused the problem |
Method Summary | |
---|---|
int |
getReason()
Returns the reason the exception was thrown. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int CP_NO_REASON
public static final int CP_NOT_LOGGED_IN
public static final int CP_NO_PERMISSION
public static final int CP_PLAN_EXISTS
public static final int CP_PLAN_NOT_EXIST
public static final int CP_NO_OPEN_PLAN
public static final int CP_ITEM_NOT_EXIST
public static final int CP_ITEM_EXISTS
public static final int CP_MISSING_ARG
public static final int CP_INVALID_ARG
public static final int CP_UNEXPECTED_XCPN
Constructor Detail |
---|
public ChangePlanAccessException(int reason)
reason
- the reason for the exception;
see getReason
for codes and descriptions.public ChangePlanAccessException(int reason, java.lang.Throwable cause)
reason
- the reason for the exception;
see getReason
for codes and descriptions.cause
- The lower-level Exception or Error
that caused this exception to be thrown.public ChangePlanAccessException(int reason, java.lang.String message)
reason
- the reason for the exception;
see getReason
for codes and descriptions.message
- A description of the problem.public ChangePlanAccessException(int reason, java.lang.String message, java.lang.Throwable cause)
reason
- the reason for the exception;
see getReason
for codes and descriptions.message
- A description of the problem.cause
- The lower-level Exception or Error
that caused this exception to be thrown.Method Detail |
---|
public int getReason()
public java.lang.String toString()
toString
in class java.lang.Throwable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |