Java Client API Reference 6.0.2.61

com.baan.b3.boi1
Interface IExceptionDescriptor

All Known Subinterfaces:
ISynchronizationExceptionDescriptor

public interface IExceptionDescriptor

Describes an exceptional event.
IExceptionDescriptors are contained by BoiExceptions. They allow several distinct events to result in one single exception

Version:
Build Nr 61, file version \\main\\3, 15:08:56 24-07-2006 UTC

Method Summary
 java.lang.String[] getMessage()
          Retrieves the description of the exceptional event.
 boolean isError()
          Tests whether this exceptional event is an error.
 boolean isWarning()
          Tests whether this exceptional event is a warning.
 

Method Detail

isError

public boolean isError()
Tests whether this exceptional event is an error.
An error is an event that was unexpected and that causes a requested action to fail
Threading policy: MTSafe
Returns:
true if this object describes an error, otherwise false

isWarning

public boolean isWarning()
Tests whether this exceptional event is a warning.
A warning is an event that was unexpected and that does not cause a requested action to fail
Threading policy: MTSafe
Returns:
true if this object describes a warning, otherwise false

getMessage

public java.lang.String[] getMessage()
Retrieves the description of the exceptional event.
Threading policy: MTSafe
Returns:
a multi-line description of the event (shall not be null or have null elements, may have length 0)

Java Client API Reference 6.0.2.61

Visit the SSA Global website for more information.