Skip navigation links

Oracle® On Track Communication SDK Documentation
Release 1(1.0)

E20955-01


waggle.core.exceptions
Class XException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by waggle.core.exceptions.XException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
XIOException

public class XException
extends Exception

Basic Waggle Exception.

See Also:
Serialized Form

Constructor Summary
XException(String resourceID, Object... arguments)
          Create and format an exception and its message string.

 

Method Summary
 Object[] getArguments()
          Return the arguments used to format this exceptions message.
 Date getDate()
          Return the Date of this exception.
 String getResourceID()
          Return the resource ID used to format this exception's message.
 void printStackTrace(PrintStream s)
          Print this exception using our exception format.
 void printStackTrace(PrintWriter s)
          Print this exception using our exception format.

 

Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

XException

public XException(String resourceID,
                  Object... arguments)
Create and format an exception and its message string.
Parameters:
resourceID - The resource ID used to format the message.
arguments - The arguments used to format the exception.

Method Detail

getResourceID

public String getResourceID()
Return the resource ID used to format this exception's message.
Returns:
The resource ID used to format this exception's message.

getArguments

public Object[] getArguments()
Return the arguments used to format this exceptions message.
Returns:
The arguments used to format this exceptions message.

getDate

public Date getDate()
Return the Date of this exception.
Returns:
the Date of this exception.

printStackTrace

public void printStackTrace(PrintStream s)
Print this exception using our exception format.
Overrides:
printStackTrace in class Throwable
Parameters:
s - The stream.

printStackTrace

public void printStackTrace(PrintWriter s)
Print this exception using our exception format.
Overrides:
printStackTrace in class Throwable
Parameters:
s - The writer.

Skip navigation links

Oracle® On Track Communication SDK Documentation
Release 1(1.0)

E20955-01


Copyright © 2011, Oracle and/or its affiliates. All rights reserved.