AssertionException.java defines a catchable exception class for use with assertion checking. This class extends RuntimeException.


public AssertionException(String cause)

Constructor for the exception

Receives: A string with the reason for the exception.

Postcondition: The exception has been constructed.


Back to the package documentation index

Back to the Introduction

Copyright 2000 by Prentice Hall. All rights reserved.