scale.common
Class RuntimeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by scale.common.RuntimeException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
NoSuchElementException, ResourceException

public class RuntimeException
extends java.lang.RuntimeException

The base class for run-time exceptions thrown by the Scale system.

$Id: RuntimeException.java,v 1.15 2007-10-04 19:58:11 burrill Exp $

Copyright 2008 by the Scale Compiler Group,
Department of Computer Science
University of Massachusetts,
Amherst MA. 01003, USA
All Rights Reserved.

Using this base class aids Scale in standardizing the appearance of all its exception messages.

Run-time exceptions are not checked and do not have to appear in the signature of the method that throws them.

To define a new exception, a developer should define a new class that inherits either from this class or one of its descendents and write a constructor which can be used in a throw statement.

See Also:
Serialized Form

Constructor Summary
RuntimeException(java.lang.String info)
           
 
Method Summary
 void handler()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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

RuntimeException

public RuntimeException(java.lang.String info)
Method Detail

handler

public void handler()