Module id.xfunction

Class XRuntimeException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
XRE

public class XRuntimeException extends RuntimeException
RuntimeException which allows to specify formatted messages.

Example:


 throw new XRuntimeException("Command %s failed: %s", cmd, error);
 
See Also:
  • Constructor Details

    • XRuntimeException

      public XRuntimeException()
    • XRuntimeException

      public XRuntimeException(String message)
    • XRuntimeException

      public XRuntimeException(String fmt, Object... objs)
    • XRuntimeException

      public XRuntimeException(Throwable t)