oracle.panama.portal
Class PortalException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--oracle.panama.portal.PortalException
- All Implemented Interfaces:
- java.io.Serializable
- public class PortalException
- extends java.lang.Exception
This PortalException is the exception object thrown from Portal API to portal pages. From the PortalException, the portal pages can get the exception type and exception messages.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
EXCEPTION_TYPE_NUMBER
public static final int EXCEPTION_TYPE_NUMBER
- the total number of exception type.
INVALID_USER_PASSWORD
public static final int INVALID_USER_PASSWORD
- portal exception type for invalid user/password login.
SESSION_EXPIRED
public static final int SESSION_EXPIRED
- portal exception type for session expired.
SESSION_CHANGED
public static final int SESSION_CHANGED
- portal exception type for session changed
OBJECT_NOT_FOUND
public static final int OBJECT_NOT_FOUND
- portal exception type for model object not found.
OPERATION_FAILED
public static final int OPERATION_FAILED
- portal exception type for update/delete/create operation failed.
GEOCODE_FAILED
public static final int GEOCODE_FAILED
- portal exception type for update/delete/create operation failed.
PortalException
public PortalException(int type)
- Construct with an exception type.
- Parameters:
type
- exception type
getExceptionType
public int getExceptionType()
- get exception type.
- Returns:
- exception type.