omeis.providers.re.quantum
Class QuantizationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by omeis.providers.re.quantum.QuantizationException
All Implemented Interfaces:
Serializable

public class QuantizationException
extends Exception

This exception is thrown during the quantization process if something goes wrong. For example, quantization strategies that depend on an interval [min, max] where min (max) is, in general, the minimum (maximum) of all minima (maxima) calculated in a given stack (for a given wavelength and timepoint).

Since:
OME2.2
Version:
2.2 (Internal version: $Revision$ $Date: 2005/06/10 17:37:26 $)
Author:
Jean-Marie Burel      j.burel@dundee.ac.uk,
Andrea Falconi      a.falconi@dundee.ac.uk
See Also:
Serialized Form

Constructor Summary
QuantizationException()
          Creates a new exception.
QuantizationException(String message)
          Constructs a new exception with the specified detail message.
QuantizationException(String message, Throwable cause)
          Constructs a new exception with the specified detail message and cause.
QuantizationException(Throwable cause)
          Constructs a new exception with the specified cause.
 
Method Summary
 int getWavelength()
          Returns the index of the wavelength that couldn't be rendered.
 void setWavelength(int index)
          Sets the index of the wavelength that couldn't be rendered.
 
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

QuantizationException

public QuantizationException()
Creates a new exception.


QuantizationException

public QuantizationException(String message)
Constructs a new exception with the specified detail message.

Parameters:
message - Short explanation of the problem.

QuantizationException

public QuantizationException(Throwable cause)
Constructs a new exception with the specified cause.

Parameters:
cause - The exception that caused this one to be risen.

QuantizationException

public QuantizationException(String message,
                             Throwable cause)
Constructs a new exception with the specified detail message and cause.

Parameters:
message - Short explanation of the problem.
cause - The exception that caused this one to be risen.
Method Detail

setWavelength

public void setWavelength(int index)
Sets the index of the wavelength that couldn't be rendered.

Parameters:
index - The index of the wavelength.

getWavelength

public int getWavelength()
Returns the index of the wavelength that couldn't be rendered.

Returns:
See above.


OmeroJava Api

Version: 4.3.4-dbcbce5a-b4

Copyright © 2009 The University of Dundee. All Rights Reserved.