All Packages Class Hierarchy This Package Previous Next Index
Class com.ibm.imageprocessing.event.RotationErrorEvent
java.lang.Object
|
+----java.util.EventObject
|
+----com.ibm.imageprocessing.event.RotationErrorEvent
- public class RotationErrorEvent
- extends EventObject
An exception is thrown when an invalid argument is passed for the
direction and the rotation angle. The exception is caught and this
event is thrown. It contains the detailed error message, the
message code, and the exception.
- See Also:
- EventObject, RotationErrorListener
-
RotationErrorEvent(Object, int, Exception, String)
- Constructs a
RotationErrorEvent
object with a specified
source object.
-
getCurrentException()
- Gets current exception
-
getMessage()
- Gets a detailed error message
-
getMessageCode()
- Gets the error message code
RotationErrorEvent
public RotationErrorEvent(Object source,
int messageCode,
Exception currentException,
String message)
- Constructs a
RotationErrorEvent
object with a specified
source object.
- Parameters:
- source - object where the event originated
- messageCode - code of the error message
- currentException - exception that is thrown
- message - detailed error message
getMessageCode
public int getMessageCode()
- Gets the error message code
- Returns:
- error message code
getCurrentException
public Exception getCurrentException()
- Gets current exception
- Returns:
- current exception
getMessage
public String getMessage()
- Gets a detailed error message
- Returns:
- detailed error message
All Packages Class Hierarchy This Package Previous Next Index