org.ceryle.xtm
Class XtmException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.ceryle.util.ProcessException
              extended by org.ceryle.xtm.XtmException
All Implemented Interfaces:
Serializable

public class XtmException
extends ProcessException

A class that extends ProcessException for errors that occur during XTM processing.

Since:
JDK1.3
Version:
$Id: XtmException.java,v 3.3 2007-06-15 12:10:35 altheim Exp $
Author:
Murray Altheim
See Also:
ProcessException, Serialized Form

Field Summary
 
Fields inherited from class org.ceryle.util.ProcessException
exception, isMessageId, line, messageId, param1, param2, param3
 
Constructor Summary
XtmException(Exception exception)
          Constructor for XtmException tunnelling the original Exception.
XtmException(int line, String messageId)
          Constructor for XtmException including location information.
XtmException(int line, String messageId, String param1)
          Constructor for XtmException with a MessageId and one parameter, including location information.
XtmException(int line, String messageId, String param1, String param2)
          Constructor for XtmException with a MessageId and two parameters, including location information.
XtmException(String messageId)
          Constructor for XtmException.
XtmException(String messageId, Exception exception)
          Constructor for XtmException provided a message identifier, tunnelling the original Exception.
XtmException(String messageId, String param1)
          Constructor for XtmException with a MessageId and one parameter.
XtmException(String messageId, String param1, String param2)
          Constructor for XtmException with a MessageId and two parameters.
XtmException(String messageId, String param1, String param2, String param3)
          Constructor for XtmException with a MessageId and three parameters.
 
Method Summary
 
Methods inherited from class org.ceryle.util.ProcessException
getException, getLine, getMessage, getMessageId
 
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

XtmException

public XtmException(String messageId)
Constructor for XtmException.

Parameters:
messageId - The unique message identifier.

XtmException

public XtmException(Exception exception)
Constructor for XtmException tunnelling the original Exception.

Parameters:
exception - The original Exception.
See Also:
Utilities

XtmException

public XtmException(String messageId,
                    Exception exception)
Constructor for XtmException provided a message identifier, tunnelling the original Exception.

Parameters:
messageId - The unique message identifier.
exception - The original Exception.
See Also:
Utilities

XtmException

public XtmException(String messageId,
                    String param1)
Constructor for XtmException with a MessageId and one parameter.

Parameters:
messageId - The unique message identifier.
param1 - A parameter string to be inserted at %1.
See Also:
MessageId, Utilities

XtmException

public XtmException(String messageId,
                    String param1,
                    String param2)
Constructor for XtmException with a MessageId and two parameters.

Parameters:
messageId - The unique message identifier.
param1 - A parameter string to be inserted at %1.
param2 - A parameter string to be inserted at %2.
See Also:
MessageId, Utilities

XtmException

public XtmException(String messageId,
                    String param1,
                    String param2,
                    String param3)
Constructor for XtmException with a MessageId and three parameters.

Parameters:
messageId - The unique message identifier.
param1 - A parameter string to be inserted at %1.
param2 - A parameter string to be inserted at %2.
param3 - A parameter string to be inserted at %3.
See Also:
MessageId, Utilities

XtmException

public XtmException(int line,
                    String messageId)
Constructor for XtmException including location information.

Parameters:
line - The line on which the error seems to have occurred.
messageId - The unique message identifier.
See Also:
MessageId, Utilities

XtmException

public XtmException(int line,
                    String messageId,
                    String param1)
Constructor for XtmException with a MessageId and one parameter, including location information.

Parameters:
line - The line on which the error seems to have occurred.
messageId - The unique message identifier.
param1 - A parameter string to be inserted at %1.
See Also:
MessageId, Utilities

XtmException

public XtmException(int line,
                    String messageId,
                    String param1,
                    String param2)
Constructor for XtmException with a MessageId and two parameters, including location information.

Parameters:
line - The line on which the error seems to have occurred.
messageId - The unique message identifier.
param1 - A parameter string to be inserted at %1.
param2 - A parameter string to be inserted at %2.
See Also:
MessageId, Utilities


The Ceryle Project. Copyright ©2001-2007 Murray Altheim, All Rights Reserved. See LICENSE included with distribution.