org.apache.pig.impl.logicalLayer
Class FrontendException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by org.apache.pig.PigException
                  extended by org.apache.pig.impl.logicalLayer.FrontendException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
JobCreationException, ParserException, PlanException, SchemaMergeException, VisitorException

public class FrontendException
extends PigException

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.pig.PigException
BUG, detailedMessage, ERROR, errorCode, errorSource, INPUT, markedAsShowToUser, REMOTE_ENVIRONMENT, retriable, USER_ENVIRONMENT
 
Constructor Summary
FrontendException()
          Create a new FrontendException with null as the error message.
FrontendException(Operator op, String message)
          Create a new FrontendException with the specified message and cause.
FrontendException(Operator op, String message, int errCode)
          Create a new FrontendException with the specified message and cause.
FrontendException(Operator op, String message, int errCode, byte errSrc)
          Create a new FrontendException with the specified message and cause.
FrontendException(Operator op, String message, int errCode, byte errSrc, boolean retry, String detailedMsg, Throwable cause)
          Create a new FrontendException with the specified message, error code, error source, retriable or not, detalied message for the developer and cause.
FrontendException(Operator op, String message, int errCode, byte errSrc, Throwable cause)
          Create a new FrontendException with the specified message and cause.
FrontendException(Operator op, String message, int errCode, Throwable cause)
          Create a new FrontendException with the specified message and cause.
FrontendException(String message)
          Create a new FrontendException with the specified message and cause.
FrontendException(String message, int errCode)
          Create a new FrontendException with the specified message and cause.
FrontendException(String message, int errCode, boolean retry)
          Create a new FrontendException with the specified message and cause.
FrontendException(String message, int errCode, byte errSrc)
          Create a new FrontendException with the specified message and cause.
FrontendException(String message, int errCode, byte errSrc, boolean retry)
          Create a new FrontendException with the specified message and cause.
FrontendException(String message, int errCode, byte errSrc, boolean retry, String detailedMsg)
          Create a new FrontendException with the specified message, error code, error source, retriable or not, detalied message for the developer and cause.
FrontendException(String message, int errCode, byte errSrc, boolean retry, String detailedMsg, Throwable cause)
          Create a new FrontendException with the specified message, error code, error source, retriable or not, detalied message for the developer and cause.
FrontendException(String message, int errCode, byte errSrc, Throwable cause)
          Create a new FrontendException with the specified message and cause.
FrontendException(String message, int errCode, Throwable cause)
          Create a new FrontendException with the specified message and cause.
FrontendException(String message, Throwable cause)
          Create a new FrontendException with the specified message and cause.
FrontendException(Throwable cause)
          Create a new FrontendException with the specified cause.
 
Method Summary
 
Methods inherited from class org.apache.pig.PigException
determineErrorSource, getDetailedMessage, getErrorCode, getErrorSource, getMarkedAsShowToUser, isBug, isInput, isRemoteEnvironment, isUserEnvironment, retriable, setDetailedMessage, setErrorCode, setErrorSource, setMarkedAsShowToUser, setRetriable, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FrontendException

public FrontendException()
Create a new FrontendException with null as the error message.


FrontendException

public FrontendException(String message)
Create a new FrontendException with the specified message and cause.

Parameters:
message - - The error message (which is saved for later retrieval by the Throwable.getMessage() method) shown to the user

FrontendException

public FrontendException(Throwable cause)
Create a new FrontendException with the specified cause.

Parameters:
cause - - The cause (which is saved for later retrieval by the Throwable.getCause() method) indicating the source of this exception. A null value is permitted, and indicates that the cause is nonexistent or unknown.

FrontendException

public FrontendException(String message,
                         Throwable cause)
Create a new FrontendException with the specified message and cause.

Parameters:
message - - The error message (which is saved for later retrieval by the Throwable.getMessage() method) shown to the user
cause - - The cause (which is saved for later retrieval by the Throwable.getCause() method) indicating the source of this exception. A null value is permitted, and indicates that the cause is nonexistent or unknown.

FrontendException

public FrontendException(String message,
                         int errCode)
Create a new FrontendException with the specified message and cause.

Parameters:
message - - The error message (which is saved for later retrieval by the Throwable.getMessage() method) shown to the user
errCode - - The error code shown to the user

FrontendException

public FrontendException(String message,
                         int errCode,
                         Throwable cause)
Create a new FrontendException with the specified message and cause.

Parameters:
message - - The error message (which is saved for later retrieval by the Throwable.getMessage() method) shown to the user
errCode - - The error code shown to the user
cause - - The cause (which is saved for later retrieval by the Throwable.getCause() method) indicating the source of this exception. A null value is permitted, and indicates that the cause is nonexistent or unknown.

FrontendException

public FrontendException(String message,
                         int errCode,
                         byte errSrc)
Create a new FrontendException with the specified message and cause.

Parameters:
message - - The error message (which is saved for later retrieval by the Throwable.getMessage() method) shown to the user
errCode - - The error code shown to the user
errSrc - - The error source

FrontendException

public FrontendException(String message,
                         int errCode,
                         byte errSrc,
                         Throwable cause)
Create a new FrontendException with the specified message and cause.

Parameters:
message - - The error message (which is saved for later retrieval by the Throwable.getMessage() method) shown to the user
errCode - - The error code shown to the user
errSrc - - The error source
cause - - The cause (which is saved for later retrieval by the Throwable.getCause() method) indicating the source of this exception. A null value is permitted, and indicates that the cause is nonexistent or unknown.

FrontendException

public FrontendException(String message,
                         int errCode,
                         boolean retry)
Create a new FrontendException with the specified message and cause.

Parameters:
message - - The error message (which is saved for later retrieval by the Throwable.getMessage() method) shown to the user
errCode - - The error code shown to the user
retry - - If the exception is retriable or not

FrontendException

public FrontendException(String message,
                         int errCode,
                         byte errSrc,
                         boolean retry)
Create a new FrontendException with the specified message and cause.

Parameters:
message - - The error message (which is saved for later retrieval by the Throwable.getMessage() method) shown to the user
errCode - - The error code shown to the user
errSrc - - The error source
retry - - If the exception is retriable or not

FrontendException

public FrontendException(String message,
                         int errCode,
                         byte errSrc,
                         boolean retry,
                         String detailedMsg)
Create a new FrontendException with the specified message, error code, error source, retriable or not, detalied message for the developer and cause.

Parameters:
message - - The error message (which is saved for later retrieval by the Throwable.getMessage() method) shown to the user
errCode - - The error code shown to the user
errSrc - - The error source
retry - - If the exception is retriable or not
detailedMsg - - The detailed message shown to the developer

FrontendException

public FrontendException(String message,
                         int errCode,
                         byte errSrc,
                         boolean retry,
                         String detailedMsg,
                         Throwable cause)
Create a new FrontendException with the specified message, error code, error source, retriable or not, detalied message for the developer and cause.

Parameters:
message - - The error message (which is saved for later retrieval by the Throwable.getMessage() method) shown to the user
errCode - - The error code shown to the user
errSrc - - The error source
retry - - If the exception is retriable or not
detailedMsg - - The detailed message shown to the developer
cause - - The cause (which is saved for later retrieval by the Throwable.getCause() method) indicating the source of this exception. A null value is permitted, and indicates that the cause is nonexistent or unknown.

FrontendException

public FrontendException(Operator op,
                         String message)
Create a new FrontendException with the specified message and cause.

Parameters:
op - - logical operator where the exception occurs
message - - The error message (which is saved for later retrieval by the Throwable.getMessage() method) shown to the user

FrontendException

public FrontendException(Operator op,
                         String message,
                         int errCode)
Create a new FrontendException with the specified message and cause.

Parameters:
op - - logical operator where the exception occurs
message - - The error message (which is saved for later retrieval by the Throwable.getMessage() method) shown to the user
errCode - - The error code shown to the user

FrontendException

public FrontendException(Operator op,
                         String message,
                         int errCode,
                         byte errSrc)
Create a new FrontendException with the specified message and cause.

Parameters:
op - - logical operator where the exception occurs
message - - The error message (which is saved for later retrieval by the Throwable.getMessage() method) shown to the user
errCode - - The error code shown to the user
errSrc - - The error source

FrontendException

public FrontendException(Operator op,
                         String message,
                         int errCode,
                         byte errSrc,
                         Throwable cause)
Create a new FrontendException with the specified message and cause.

Parameters:
op - - logical operator where the exception occurs
message - - The error message (which is saved for later retrieval by the Throwable.getMessage() method) shown to the user
errCode - - The error code shown to the user
errSrc - - The error source
cause - - The cause (which is saved for later retrieval by the Throwable.getCause() method) indicating the source of this exception. A null value is permitted, and indicates that the cause is nonexistent or unknown.

FrontendException

public FrontendException(Operator op,
                         String message,
                         int errCode,
                         Throwable cause)
Create a new FrontendException with the specified message and cause.

Parameters:
op - - logical operator where the exception occurs
message - - The error message (which is saved for later retrieval by the Throwable.getMessage() method) shown to the user
errCode - - The error code shown to the user
cause - - The cause (which is saved for later retrieval by the Throwable.getCause() method) indicating the source of this exception. A null value is permitted, and indicates that the cause is nonexistent or unknown.

FrontendException

public FrontendException(Operator op,
                         String message,
                         int errCode,
                         byte errSrc,
                         boolean retry,
                         String detailedMsg,
                         Throwable cause)
Create a new FrontendException with the specified message, error code, error source, retriable or not, detalied message for the developer and cause.

Parameters:
op - - logical operator where the exception occurs
message - - The error message (which is saved for later retrieval by the Throwable.getMessage() method) shown to the user
errCode - - The error code shown to the user
errSrc - - The error source
retry - - If the exception is retriable or not
detailedMsg - - The detailed message shown to the developer
cause - - The cause (which is saved for later retrieval by the Throwable.getCause() method) indicating the source of this exception. A null value is permitted, and indicates that the cause is nonexistent or unknown.


Copyright © ${year} The Apache Software Foundation