/** * Returns an error to represent undefinedness in a computation. * * @return An error to represent undefinedness in a computation. */ public static Error undefined() { return error("undefined"); }
public static TypeTraitement fromCode(String code) { switch (code) { case "AS": return AccesSelectif; case "ET": return EnAttente; case "TR": return Transfert; case "VA": return ValidationAcquis; default: throw error(code + " cannot be associated with any existing TypeTraitement"); } } // getters for jsf
public PackageFileSystemObject<PrototypeEntry> setPath( RelativePath path ) { throw error( "Not applicable" ); } }
public PackageFileSystemObject<PrototypeEntry> withUnixFsObject( UnixFsObject object ) { throw error( "Not applicable" ); } }
public PackageFileSystemObject<PrototypeEntry> setPath( RelativePath path ) { throw error( "Not applicable" ); } }
public A reduceRight(final F<A, F<A, A>> aff) { throw error("Reduction of empty tree"); }
public A some() { throw error("some on None"); } }
/** * Represents a deconstruction failure that was non-exhaustive. * * @param c The type being deconstructed. * @return A deconstruction failure that was non-exhaustive. */ @SuppressWarnings("UnnecessaryFullyQualifiedName") public static <A> Error decons(final java.lang.Class<A> c) { return error("Deconstruction failure on type " + c); }
public A head() { throw error("head on empty list"); }
public A head() { throw error("head on empty stream"); }
@Override public A reduceLeft(final F<A, F<A, A>> aff) { throw error("Reduction of empty tree"); }
@Override public A head() { throw error("Selection of head in empty tree"); }
public List<A> tail() { throw error("tail on empty list"); } }
public P1<Stream<A>> tail() { throw error("tail on empty stream"); } }
@Override public P2<Integer, A> lookup(final F<V, Integer> o, final int i) { throw error("Lookup of empty tree."); }
public FileAttributes getFileAttributes() { throw error( "Not applicable" ); }
public PrototypeEntry<UnixFsObject> setFileAttributes( FileAttributes attributes ) { throw error( "Not applicable" ); }
public FileAttributes getFileAttributes() { throw error( "Not applicable" ); }
public PrototypeEntry<UnixFsObject> setFileAttributes( FileAttributes attributes ) { throw error( "Not applicable" ); }
@Override P3<FingerTree<V, A>, A, FingerTree<V, A>> split1(final F<V, Boolean> predicate, final V acc) { throw error("Splitting an empty tree"); }