com.datasalt.pangool.tuplemr
Class TupleMRException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.datasalt.pangool.tuplemr.TupleMRException
All Implemented Interfaces:
Serializable

public class TupleMRException
extends Exception

See Also:
Serialized Form

Constructor Summary
TupleMRException(String message)
           
TupleMRException(String message, Throwable e)
           
TupleMRException(Throwable e)
           
 
Method Summary
static void failIfEmpty(Collection<?> ob, String message)
           
static void failIfEmpty(Object[] ob, String message)
           
static void failIfNotNull(Object ob, String message)
           
static void failIfNull(Object ob, String message)
           
 
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

TupleMRException

public TupleMRException(Throwable e)

TupleMRException

public TupleMRException(String message,
                        Throwable e)

TupleMRException

public TupleMRException(String message)
Method Detail

failIfNull

public static void failIfNull(Object ob,
                              String message)
                       throws TupleMRException
Throws:
TupleMRException

failIfEmpty

public static void failIfEmpty(Collection<?> ob,
                               String message)
                        throws TupleMRException
Throws:
TupleMRException

failIfEmpty

public static void failIfEmpty(Object[] ob,
                               String message)
                        throws TupleMRException
Throws:
TupleMRException

failIfNotNull

public static void failIfNotNull(Object ob,
                                 String message)
                          throws TupleMRException
Throws:
TupleMRException


Copyright © –2014 Datasalt Systems S.L.. All rights reserved.