org.apache.oozie
Enum ErrorCode

java.lang.Object
  extended by java.lang.Enum<ErrorCode>
      extended by org.apache.oozie.ErrorCode
All Implemented Interfaces:
Serializable, Comparable<ErrorCode>

public enum ErrorCode
extends Enum<ErrorCode>


Enum Constant Summary
E0000
           
E0001
           
E0002
           
E0003
           
E0004
           
E0010
           
E0011
           
E0012
           
E0013
           
E0020
           
E0022
           
E0023
           
E0024
           
E0025
           
E0026
           
E0100
           
E0101
           
E0102
           
E0103
           
E0110
           
E0111
           
E0112
           
E0113
           
E0114
           
E0115
           
E0116
           
E0120
           
E0130
           
E0131
           
E0140
           
E0141
           
E0150
           
E0160
           
E0300
           
E0301
           
E0302
           
E0303
           
E0304
           
E0305
           
E0306
           
E0307
           
E0308
           
E0401
           
E0402
           
E0403
           
E0404
           
E0405
           
E0420
           
E0421
           
E0500
           
E0501
           
E0502
           
E0503
           
E0504
           
E0505
           
E0506
           
E0507
           
E0508
           
E0509
           
E0510
           
E0550
           
E0551
           
E0600
           
E0601
           
E0602
           
E0603
           
E0604
           
E0605
           
E0606
           
E0607
           
E0608
           
E0609
           
E0610
           
E0611
           
E0700
           
E0701
           
E0702
           
E0703
           
E0704
           
E0705
           
E0706
           
E0707
           
E0708
           
E0709
           
E0710
           
E0711
           
E0712
           
E0713
           
E0714
           
E0715
           
E0716
           
E0717
           
E0718
           
E0719
           
E0720
           
E0721
           
E0722
           
E0723
           
E0724
           
E0725
           
E0726
           
E0727
           
E0728
           
E0729
           
E0730
           
E0731
           
E0732
           
E0733
           
E0734
           
E0735
           
E0736
           
E0737
           
E0738
           
E0739
           
E0740
           
E0741
           
E0742
           
E0743
           
E0800
           
E0801
           
E0802
           
E0803
           
E0804
           
E0805
           
E0806
           
E0807
           
E0808
           
E0809
           
E0810
           
E0811
           
E0812
           
E0813
           
E0814
           
E0815
           
E0816
           
E0817
           
E0818
           
E0819
           
E0820
           
E0900
           
E0901
           
E0902
           
E0903
           
E0904
           
E1001
           
E1002
           
E1003
           
E1004
           
E1005
           
E1006
           
E1007
           
E1008
           
E1009
           
E1010
           
E1011
           
E1012
           
E1013
           
E1014
           
E1015
           
E1016
           
E1017
           
E1018
           
E1019
           
E1020
           
E1021
           
E1022
           
E1100
           
E1101
           
E1102
           
E1201
           
E1301
           
E1302
           
E1303
           
E1304
           
E1305
           
E1306
           
E1307
           
E1308
           
E1309
           
E1310
           
E1311
           
E1312
           
E1313
           
E1314
           
E1315
           
E1316
           
E1317
           
E1318
           
E1319
           
E1400
           
ETEST
           
 
Method Summary
 String format(Object... args)
          Return a templatized error message for the error code.
 int getLogMask()
          Return the log mask (to which log the exception should be logged) of the error.
 String getTemplate()
          Return the message (StringFormat) template for the error code.
static ErrorCode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ErrorCode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

E0000

public static final ErrorCode E0000

E0001

public static final ErrorCode E0001

E0002

public static final ErrorCode E0002

E0003

public static final ErrorCode E0003

E0004

public static final ErrorCode E0004

E0010

public static final ErrorCode E0010

E0011

public static final ErrorCode E0011

E0012

public static final ErrorCode E0012

E0013

public static final ErrorCode E0013

E0020

public static final ErrorCode E0020

E0022

public static final ErrorCode E0022

E0023

public static final ErrorCode E0023

E0024

public static final ErrorCode E0024

E0025

public static final ErrorCode E0025

E0026

public static final ErrorCode E0026

E0100

public static final ErrorCode E0100

E0101

public static final ErrorCode E0101

E0102

public static final ErrorCode E0102

E0103

public static final ErrorCode E0103

E0110

public static final ErrorCode E0110

E0111

public static final ErrorCode E0111

E0112

public static final ErrorCode E0112

E0113

public static final ErrorCode E0113

E0114

public static final ErrorCode E0114

E0115

public static final ErrorCode E0115

E0116

public static final ErrorCode E0116

E0120

public static final ErrorCode E0120

E0130

public static final ErrorCode E0130

E0131

public static final ErrorCode E0131

E0140

public static final ErrorCode E0140

E0141

public static final ErrorCode E0141

E0150

public static final ErrorCode E0150

E0160

public static final ErrorCode E0160

E0300

public static final ErrorCode E0300

E0301

public static final ErrorCode E0301

E0302

public static final ErrorCode E0302

E0303

public static final ErrorCode E0303

E0304

public static final ErrorCode E0304

E0305

public static final ErrorCode E0305

E0306

public static final ErrorCode E0306

E0307

public static final ErrorCode E0307

E0308

public static final ErrorCode E0308

E0401

public static final ErrorCode E0401

E0402

public static final ErrorCode E0402

E0403

public static final ErrorCode E0403

E0404

public static final ErrorCode E0404

E0405

public static final ErrorCode E0405

E0420

public static final ErrorCode E0420

E0421

public static final ErrorCode E0421

E0500

public static final ErrorCode E0500

E0501

public static final ErrorCode E0501

E0502

public static final ErrorCode E0502

E0503

public static final ErrorCode E0503

E0504

public static final ErrorCode E0504

E0505

public static final ErrorCode E0505

E0506

public static final ErrorCode E0506

E0507

public static final ErrorCode E0507

E0508

public static final ErrorCode E0508

E0509

public static final ErrorCode E0509

E0510

public static final ErrorCode E0510

E0550

public static final ErrorCode E0550

E0551

public static final ErrorCode E0551

E0600

public static final ErrorCode E0600

E0601

public static final ErrorCode E0601

E0602

public static final ErrorCode E0602

E0603

public static final ErrorCode E0603

E0604

public static final ErrorCode E0604

E0605

public static final ErrorCode E0605

E0606

public static final ErrorCode E0606

E0607

public static final ErrorCode E0607

E0608

public static final ErrorCode E0608

E0609

public static final ErrorCode E0609

E0610

public static final ErrorCode E0610

E0611

public static final ErrorCode E0611

E0700

public static final ErrorCode E0700

E0701

public static final ErrorCode E0701

E0702

public static final ErrorCode E0702

E0703

public static final ErrorCode E0703

E0704

public static final ErrorCode E0704

E0705

public static final ErrorCode E0705

E0706

public static final ErrorCode E0706

E0707

public static final ErrorCode E0707

E0708

public static final ErrorCode E0708

E0709

public static final ErrorCode E0709

E0710

public static final ErrorCode E0710

E0711

public static final ErrorCode E0711

E0712

public static final ErrorCode E0712

E0713

public static final ErrorCode E0713

E0714

public static final ErrorCode E0714

E0715

public static final ErrorCode E0715

E0716

public static final ErrorCode E0716

E0717

public static final ErrorCode E0717

E0718

public static final ErrorCode E0718

E0719

public static final ErrorCode E0719

E0720

public static final ErrorCode E0720

E0721

public static final ErrorCode E0721

E0722

public static final ErrorCode E0722

E0723

public static final ErrorCode E0723

E0724

public static final ErrorCode E0724

E0725

public static final ErrorCode E0725

E0726

public static final ErrorCode E0726

E0727

public static final ErrorCode E0727

E0728

public static final ErrorCode E0728

E0729

public static final ErrorCode E0729

E0730

public static final ErrorCode E0730

E0731

public static final ErrorCode E0731

E0732

public static final ErrorCode E0732

E0733

public static final ErrorCode E0733

E0734

public static final ErrorCode E0734

E0735

public static final ErrorCode E0735

E0736

public static final ErrorCode E0736

E0737

public static final ErrorCode E0737

E0738

public static final ErrorCode E0738

E0739

public static final ErrorCode E0739

E0740

public static final ErrorCode E0740

E0741

public static final ErrorCode E0741

E0742

public static final ErrorCode E0742

E0743

public static final ErrorCode E0743

E0800

public static final ErrorCode E0800

E0801

public static final ErrorCode E0801

E0802

public static final ErrorCode E0802

E0803

public static final ErrorCode E0803

E0804

public static final ErrorCode E0804

E0805

public static final ErrorCode E0805

E0806

public static final ErrorCode E0806

E0807

public static final ErrorCode E0807

E0808

public static final ErrorCode E0808

E0809

public static final ErrorCode E0809

E0810

public static final ErrorCode E0810

E0811

public static final ErrorCode E0811

E0812

public static final ErrorCode E0812

E0813

public static final ErrorCode E0813

E0814

public static final ErrorCode E0814

E0815

public static final ErrorCode E0815

E0816

public static final ErrorCode E0816

E0817

public static final ErrorCode E0817

E0818

public static final ErrorCode E0818

E0819

public static final ErrorCode E0819

E0820

public static final ErrorCode E0820

E0900

public static final ErrorCode E0900

E0901

public static final ErrorCode E0901

E0902

public static final ErrorCode E0902

E0903

public static final ErrorCode E0903

E0904

public static final ErrorCode E0904

E1001

public static final ErrorCode E1001

E1002

public static final ErrorCode E1002

E1003

public static final ErrorCode E1003

E1004

public static final ErrorCode E1004

E1005

public static final ErrorCode E1005

E1006

public static final ErrorCode E1006

E1007

public static final ErrorCode E1007

E1008

public static final ErrorCode E1008

E1009

public static final ErrorCode E1009

E1010

public static final ErrorCode E1010

E1011

public static final ErrorCode E1011

E1012

public static final ErrorCode E1012

E1013

public static final ErrorCode E1013

E1014

public static final ErrorCode E1014

E1015

public static final ErrorCode E1015

E1016

public static final ErrorCode E1016

E1017

public static final ErrorCode E1017

E1018

public static final ErrorCode E1018

E1019

public static final ErrorCode E1019

E1020

public static final ErrorCode E1020

E1021

public static final ErrorCode E1021

E1022

public static final ErrorCode E1022

E1100

public static final ErrorCode E1100

E1101

public static final ErrorCode E1101

E1102

public static final ErrorCode E1102

E1201

public static final ErrorCode E1201

E1301

public static final ErrorCode E1301

E1302

public static final ErrorCode E1302

E1303

public static final ErrorCode E1303

E1304

public static final ErrorCode E1304

E1305

public static final ErrorCode E1305

E1306

public static final ErrorCode E1306

E1307

public static final ErrorCode E1307

E1308

public static final ErrorCode E1308

E1309

public static final ErrorCode E1309

E1310

public static final ErrorCode E1310

E1311

public static final ErrorCode E1311

E1312

public static final ErrorCode E1312

E1313

public static final ErrorCode E1313

E1314

public static final ErrorCode E1314

E1315

public static final ErrorCode E1315

E1316

public static final ErrorCode E1316

E1317

public static final ErrorCode E1317

E1318

public static final ErrorCode E1318

E1319

public static final ErrorCode E1319

E1400

public static final ErrorCode E1400

ETEST

public static final ErrorCode ETEST
Method Detail

values

public static ErrorCode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ErrorCode c : ErrorCode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ErrorCode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getTemplate

public String getTemplate()
Return the message (StringFormat) template for the error code.

Returns:
message template.

getLogMask

public int getLogMask()
Return the log mask (to which log the exception should be logged) of the error.

Returns:
error log mask.

format

public String format(Object... args)
Return a templatized error message for the error code.

Parameters:
args - the parameters for the templatized message.
Returns:
error message.


Copyright © 2013 Apache Software Foundation. All Rights Reserved.