org.basex.query.util
Enum Err.ErrType

java.lang.Object
  extended by java.lang.Enum<Err.ErrType>
      extended by org.basex.query.util.Err.ErrType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Err.ErrType>
Enclosing class:
Err

public static enum Err.ErrType
extends java.lang.Enum<Err.ErrType>

Error types.

Author:
BaseX Team 2005-12, BSD License, Leo Woerteler

Enum Constant Summary
ARCH
          ARCH Error type.
BASX
          BASX Error type.
BXCL
          BXCL Error type.
BXCO
          BXCO Error type.
BXDB
          BXDB Error type.
BXFE
          BXFE Error type.
BXFT
          BXFT Error type.
BXHL
          BXHL Error type.
BXJS
          BXJS Error type.
BXPR
          BXPR Error type.
BXRE
          BXRE Error type.
BXSL
          BXSL Error type.
BXSQ
          BXSQ Error type.
BXVA
          BXVA Error type.
BXXQ
          BXXQ Error type.
CX
          CX Error type.
FILE
          FILE Error type.
FOAR
          FOAR Error type.
FOCA
          FOCA Error type.
FOCH
          FOCH Error type.
FODC
          FODC Error type.
FODF
          FODF Error type.
FODT
          FODT Error type.
FOER
          FOER Error type.
FOFD
          FOFD Error type.
FONS
          FONS Error type.
FORG
          FORG Error type.
FORX
          FORX Error type.
FOTY
          FOTY Error type.
FOUP
          FOUP Error type.
FOUT
          FOUT Error type.
FTDY
          FTDY Error type.
FTST
          FTST Error type.
HASH
          HASH Error type.
HC
          HC Error type.
SENR
          SENR Error type.
SEPM
          SEPM Error type.
SERE
          SERE Error type.
SESU
          SEPM Error type.
UNIT
          UNIT Error type.
XPDY
          XPDY Error type.
XPST
          XPST Error type.
XPTY
          XPTY Error type.
XQDY
          XQDY Error type.
XQST
          XQST Error type.
XQTY
          XQTY Error type.
XUDY
          XUDY Error type.
XUST
          XUST Error type.
XUTY
          XUTY Error type.
ZIP
          ZIP Error type.
 
Field Summary
 java.lang.String prefix
          This error type's prefix.
 byte[] uri
          This error type's URI.
 
Method Summary
 QNm qname(int num)
          Creates a QName for the given error number.
static Err.ErrType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Err.ErrType[] 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

BASX

public static final Err.ErrType BASX
BASX Error type.


BXCL

public static final Err.ErrType BXCL
BXCL Error type.


BXCO

public static final Err.ErrType BXCO
BXCO Error type.


BXDB

public static final Err.ErrType BXDB
BXDB Error type.


BXFE

public static final Err.ErrType BXFE
BXFE Error type.


BXFT

public static final Err.ErrType BXFT
BXFT Error type.


BXHL

public static final Err.ErrType BXHL
BXHL Error type.


BXJS

public static final Err.ErrType BXJS
BXJS Error type.


BXPR

public static final Err.ErrType BXPR
BXPR Error type.


BXRE

public static final Err.ErrType BXRE
BXRE Error type.


BXSL

public static final Err.ErrType BXSL
BXSL Error type.


BXSQ

public static final Err.ErrType BXSQ
BXSQ Error type.


BXVA

public static final Err.ErrType BXVA
BXVA Error type.


BXXQ

public static final Err.ErrType BXXQ
BXXQ Error type.


HASH

public static final Err.ErrType HASH
HASH Error type.


UNIT

public static final Err.ErrType UNIT
UNIT Error type.


CX

public static final Err.ErrType CX
CX Error type.


FILE

public static final Err.ErrType FILE
FILE Error type.


HC

public static final Err.ErrType HC
HC Error type.


ZIP

public static final Err.ErrType ZIP
ZIP Error type.


ARCH

public static final Err.ErrType ARCH
ARCH Error type.


FOAR

public static final Err.ErrType FOAR
FOAR Error type.


FOCA

public static final Err.ErrType FOCA
FOCA Error type.


FOCH

public static final Err.ErrType FOCH
FOCH Error type.


FODC

public static final Err.ErrType FODC
FODC Error type.


FODF

public static final Err.ErrType FODF
FODF Error type.


FODT

public static final Err.ErrType FODT
FODT Error type.


FOFD

public static final Err.ErrType FOFD
FOFD Error type.


FOER

public static final Err.ErrType FOER
FOER Error type.


FONS

public static final Err.ErrType FONS
FONS Error type.


FORG

public static final Err.ErrType FORG
FORG Error type.


FORX

public static final Err.ErrType FORX
FORX Error type.


FOTY

public static final Err.ErrType FOTY
FOTY Error type.


FOUP

public static final Err.ErrType FOUP
FOUP Error type.


FOUT

public static final Err.ErrType FOUT
FOUT Error type.


FTDY

public static final Err.ErrType FTDY
FTDY Error type.


FTST

public static final Err.ErrType FTST
FTST Error type.


SENR

public static final Err.ErrType SENR
SENR Error type.


SEPM

public static final Err.ErrType SEPM
SEPM Error type.


SERE

public static final Err.ErrType SERE
SERE Error type.


SESU

public static final Err.ErrType SESU
SEPM Error type.


XPDY

public static final Err.ErrType XPDY
XPDY Error type.


XPST

public static final Err.ErrType XPST
XPST Error type.


XPTY

public static final Err.ErrType XPTY
XPTY Error type.


XQDY

public static final Err.ErrType XQDY
XQDY Error type.


XQST

public static final Err.ErrType XQST
XQST Error type.


XQTY

public static final Err.ErrType XQTY
XQTY Error type.


XUDY

public static final Err.ErrType XUDY
XUDY Error type.


XUST

public static final Err.ErrType XUST
XUST Error type.


XUTY

public static final Err.ErrType XUTY
XUTY Error type.

Field Detail

prefix

public final java.lang.String prefix
This error type's prefix.


uri

public final byte[] uri
This error type's URI.

Method Detail

values

public static Err.ErrType[] 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 (Err.ErrType c : Err.ErrType.values())
    System.out.println(c);

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

valueOf

public static Err.ErrType valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

qname

public final QNm qname(int num)
Creates a QName for the given error number.

Parameters:
num - error number
Returns:
constructed QName