com.sap.aii.mapping.lookup

Class LookupException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.sap.aii.mapping.api.StreamTransformationException
              extended by com.sap.aii.mapping.lookup.LookupException
All Implemented Interfaces:
Serializable

public class LookupException
extends StreamTransformationException

Exception thrown by the lookup accessors or lookup service. This exception adds an attribute which differs between a "recoverable" and permanent exception indicating whether it makes sense to repeat the previous lookup call. The default value is "non-recoverable".

Since:
SAP NetWeaver '04 SPS 13
See Also:
Serialized Form

Constructor Summary
LookupException()
          Constructs a new exception with null as its detail message.
LookupException(String message, boolean recoverable)
          Constructs a new exception with the specified detail message and the specified recoverable attribute value.
LookupException(String message, Throwable cause, boolean recoverable)
          Constructs a new exception with the specified detail message, cause, and the specified recoverable attribute value.
LookupException(Throwable cause, boolean recoverable)
          Constructs a new exception with the specified recoverable attribute value, the specified cause and a detail message of (cause==null ?
 
Method Summary
 
Methods inherited from class com.sap.aii.mapping.api.StreamTransformationException
getRootCause
 
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

LookupException

public LookupException()
Constructs a new exception with null as its detail message.


LookupException

public LookupException(String message,
                       boolean recoverable)
Constructs a new exception with the specified detail message and the specified recoverable attribute value.

Parameters:
message - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage()method.
recoverable - indicating whether the exception is permanent or recoverable.

LookupException

public LookupException(String message,
                       Throwable cause,
                       boolean recoverable)
Constructs a new exception with the specified detail message, cause, and the specified recoverable attribute value.

Parameters:
message - the detail message (which is saved for later retrieval by the Throwable.getMessage()method).
cause - the cause (which is saved for later retrieval by the Throwable.getCause()method). (null is permitted, and indicates that the cause is nonexistent or unknown.)
recoverable - indicating whether the exception is permanent or recoverable.

LookupException

public LookupException(Throwable cause,
                       boolean recoverable)
Constructs a new exception with the specified recoverable attribute value, the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause)

Parameters:
cause - the cause (which is saved for later retrieval by the Throwable.getCause()method). (Anull value is permitted, and indicates that the cause is nonexistent or unknown.)
recoverable - indicating whether the exception is permanent or recoverable.


Copyright 2007 SAP AG Complete Copyright Notice