Class RemoteSpawnException

All Implemented Interfaces:
Serializable

public class RemoteSpawnException extends RuntimeException
Wraps up a non-RuntimeException into a runtime exception that can be ignored or caught and rethrown if required.
Author:
Quickstone Technologies Limited
See Also:
  • Field Details

    • cause

      public final Throwable cause
      The actual exception.
  • Constructor Details

    • RemoteSpawnException

      public RemoteSpawnException(Throwable cause)
      Constructs a new exception.
      Parameters:
      cause - the actual exception.
  • Method Details

    • rethrow

      public void rethrow() throws Throwable
      Rethrows the actual exception.
      Throws:
      Throwable
    • printStackTrace

      public void printStackTrace()
      Prints the stack trace of the actual exception.
      Overrides:
      printStackTrace in class Throwable
    • toString

      public String toString()
      Returns a string representation of the actual exception.
      Overrides:
      toString in class Throwable