Oracle Containers for J2EE Job Scheduler Java API Reference
10g Release 3 (10.1.3)

B16026-01

oracle.ias.scheduler
Class SchedulerException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byoracle.ias.scheduler.SchedulerException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
BlackoutException, IllegalOperationException, InvalidArgumentException, JobNotFoundException, ListenerNotFoundException

public class SchedulerException
extends java.lang.Exception

This the base exception class for all exceptions thrown by the Scheduler API

See Also:
Serialized Form

Constructor Summary
SchedulerException()
          Constructs a new exception with null as its message.
SchedulerException(java.lang.String key)
          Constructs a new exception with the specified localized message key.
SchedulerException(java.lang.String key, java.lang.Object param)
          Constructs a new exception with the specified localized message key and a single message parameter string.
SchedulerException(java.lang.String key, java.lang.Object param1, java.lang.Object param2)
          Constructs a new exception with the specified localized message key and two message parameter string.
SchedulerException(java.lang.String key, java.lang.Object param1, java.lang.Object param2, java.lang.Throwable cause)
          Constructs a new exception with the specified localized message key and two message parameters and a cause
SchedulerException(java.lang.String key, java.lang.Object param, java.lang.Throwable cause)
          Constructs a new exception with the specified localized message key and single message parameter and a cause
SchedulerException(java.lang.String key, java.lang.Throwable cause)
          Constructs a new exception with the specified localized message key and cause.
SchedulerException(java.lang.Throwable cause)
          Constructs a new exception with the specified cause.
 
Method Summary
 java.lang.String getMessage()
          Retrieve the localized exception message by overriding the method in java.lang.Exception
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

SchedulerException

public SchedulerException()
Constructs a new exception with null as its message. The cause is not initialized.


SchedulerException

public SchedulerException(java.lang.String key)
Constructs a new exception with the specified localized message key. The cause is not initialized.

Parameters:
key - The key of the localized exception message which is later retrieved using the getMessage method.

SchedulerException

public SchedulerException(java.lang.String key,
                          java.lang.Object param)
Constructs a new exception with the specified localized message key and a single message parameter string. The cause is not initialized.

Parameters:
key - The key of the localized exception message which is later retrieved using the getMessage method.
param - The parameter to the localized message for this exception instance.

SchedulerException

public SchedulerException(java.lang.String key,
                          java.lang.Object param1,
                          java.lang.Object param2)
Constructs a new exception with the specified localized message key and two message parameter string. The cause is not initialized.

Parameters:
key - The key of the localized exception message which is later retrieved using the getMessage method.
param1 - The first parameter to the localized message for this exception instance.
param2 - The second parameter to the localized message for this exception instance.

SchedulerException

public SchedulerException(java.lang.String key,
                          java.lang.Throwable cause)
Constructs a new exception with the specified localized message key and cause.

Parameters:
key - The key of the localized exception message which is later retrieved using the getMessage method.
cause - The cause which is saved for the later retrieval by the getCause method.

SchedulerException

public SchedulerException(java.lang.String key,
                          java.lang.Object param,
                          java.lang.Throwable cause)
Constructs a new exception with the specified localized message key and single message parameter and a cause

Parameters:
key - The key of the localized exception message which is later retrieved using the getMessage method.
param - The parameter to the localized message for this exception instance.
cause - The cause which is saved for the later retrieval by the getCause method.

SchedulerException

public SchedulerException(java.lang.String key,
                          java.lang.Object param1,
                          java.lang.Object param2,
                          java.lang.Throwable cause)
Constructs a new exception with the specified localized message key and two message parameters and a cause

Parameters:
key - The key of the localized exception message which is later retrieved using the getMessage method.
param1 - The first parameter to the localized message for this exception instance.
param2 - The second parameter to the localized message for this exception instance.
cause - The cause which is saved for the later retrieval by the getCause method.

SchedulerException

public SchedulerException(java.lang.Throwable cause)
Constructs a new exception with the specified cause.

Parameters:
cause - The cause which is saved for the later retrieval by the getCause method.
Method Detail

getMessage

public java.lang.String getMessage()
Retrieve the localized exception message by overriding the method in java.lang.Exception


Oracle Containers for J2EE Job Scheduler Java API Reference
10g Release 3 (10.1.3)

B16026-01

Copyright © 2006, Oracle. All rights reserved.