sugar4j.lang
Class Sugar4jException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by sugar4j.lang.Sugar4jException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Sugar4jException.ParametersAreNotPairsException

public class Sugar4jException
extends RuntimeException

Exception thrown from within Sugar4j.

Version:
$Id: Sugar4jException.java,v 1.5 2008/02/12 00:44:52 krizzdewizz Exp $
Author:
krizzdewizz
See Also:
Serialized Form

Nested Class Summary
static class Sugar4jException.ParametersAreNotPairsException
          Thrown whenever a parameter array is not empty and does not contain pairs.
 
Constructor Summary
Sugar4jException(String message)
           
Sugar4jException(String message, Throwable cause)
           
 
Method Summary
static Sugar4jException throww(Throwable t)
          Throws the given exception without unnecessary nesting of Sugar4jExceptions.
 

Constructor Detail

Sugar4jException

public Sugar4jException(String message,
                        Throwable cause)

Sugar4jException

public Sugar4jException(String message)
Method Detail

throww

public static Sugar4jException throww(Throwable t)
Throws the given exception without unnecessary nesting of Sugar4jExceptions.

Parameters:
t -
Returns:
<nothing>
Throws:
Sugar4jException - always