Package omeis.providers.re.quantum
Class QuantizationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- omeis.providers.re.quantum.QuantizationException
-
- All Implemented Interfaces:
java.io.Serializable
public class QuantizationException extends java.lang.Exception
This exception is thrown during the quantization process if something goes wrong. For example, quantization strategies that depend on an interval[min, max]
wheremin
(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
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description QuantizationException()
Creates a new exception.QuantizationException(java.lang.String message)
Constructs a new exception with the specified detail message.QuantizationException(java.lang.String message, java.lang.Throwable cause)
Constructs a new exception with the specified detail message and cause.QuantizationException(java.lang.Throwable cause)
Constructs a new exception with the specified cause.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
Constructor Detail
-
QuantizationException
public QuantizationException()
Creates a new exception.
-
QuantizationException
public QuantizationException(java.lang.String message)
Constructs a new exception with the specified detail message.- Parameters:
message
- Short explanation of the problem.
-
QuantizationException
public QuantizationException(java.lang.Throwable cause)
Constructs a new exception with the specified cause.- Parameters:
cause
- The exception that caused this one to be risen.
-
QuantizationException
public QuantizationException(java.lang.String message, java.lang.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.
-
-