Class ResinException

  • All Implemented Interfaces:
    Serializable

    public class ResinException
    extends RuntimeException
    We need a ResinException class as the rest of Codehaus Cargo is built with a newer Java version than Resin, and the ResinRun class requires Java 6.
    See Also:
    Serialized Form
    • Constructor Detail

      • ResinException

        public ResinException​(String message)
        Parameters:
        message - the exception message
      • ResinException

        public ResinException​(String message,
                              Throwable throwable)
        Parameters:
        message - the exception message
        throwable - the exception to wrap
    • Method Detail

      • getOriginalThrowable

        public Throwable getOriginalThrowable()
        Returns:
        the wrapped exception
      • printStackTrace

        public void printStackTrace()
        Print the full stack trace, including the original exception.
        Overrides:
        printStackTrace in class Throwable
      • printStackTrace

        public void printStackTrace​(PrintStream ps)
        Print the full stack trace, including the original exception.
        Overrides:
        printStackTrace in class Throwable
        Parameters:
        ps - the byte stream in which to print the stack trace
      • printStackTrace

        public void printStackTrace​(PrintWriter pw)
        Print the full stack trace, including the original exception.
        Overrides:
        printStackTrace in class Throwable
        Parameters:
        pw - the character stream in which to print the stack trace