Oracle Application Server Wireless Java API Reference
B14043-01


oracle.panama.portal
Class PortalException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byoracle.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

Field Summary
static int EXCEPTION_TYPE_NUMBER
the total number of exception type.
static int GEOCODE_FAILED
portal exception type for update/delete/create operation failed.
static int INVALID_USER_PASSWORD
portal exception type for invalid user/password login.
static int OBJECT_NOT_FOUND
portal exception type for model object not found.
static int OPERATION_FAILED
portal exception type for update/delete/create operation failed.
static int SESSION_CHANGED
portal exception type for session changed
static int SESSION_EXPIRED
portal exception type for session expired.

Constructor Summary
PortalException(int type)
Construct with an exception type.

Method Summary
int getExceptionType()
get exception type.

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

Field Detail

EXCEPTION_TYPE_NUMBER

public static final int EXCEPTION_TYPE_NUMBER
the total number of exception type.
See Also:
Constant Field Values

GEOCODE_FAILED

public static final int GEOCODE_FAILED
portal exception type for update/delete/create operation failed.
See Also:
Constant Field Values

INVALID_USER_PASSWORD

public static final int INVALID_USER_PASSWORD
portal exception type for invalid user/password login.
See Also:
Constant Field Values

OBJECT_NOT_FOUND

public static final int OBJECT_NOT_FOUND
portal exception type for model object not found.
See Also:
Constant Field Values

OPERATION_FAILED

public static final int OPERATION_FAILED
portal exception type for update/delete/create operation failed.
See Also:
Constant Field Values

SESSION_CHANGED

public static final int SESSION_CHANGED
portal exception type for session changed
See Also:
Constant Field Values

SESSION_EXPIRED

public static final int SESSION_EXPIRED
portal exception type for session expired.
See Also:
Constant Field Values

Constructor Detail

PortalException

public PortalException(int type)
Construct with an exception type.
Parameters:
type - exception type

Method Detail

getExceptionType

public int getExceptionType()
get exception type.
Returns:
exception type.

Oracle Application Server Wireless Java API Reference
B14043-01


Copyright © 2004 Oracle Corporation. All Rights Reserved.